List of utility methods to do Float Constraint
if (value > max) { return max; } else if (value < min) { return min; } else { return value;