Android Utililty Methods Float Constraint

List of utility methods to do Float Constraint

Description

The list of methods to do Float Constraint are organized into topic(s).

Method

floatconstrain(float value, float min, float max)
constrain
if (value > max) {
    return max;
} else if (value < min) {
    return min;
} else {
    return value;