Java Utililty Methods Float Number Between

List of utility methods to do Float Number Between

Description

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

Method

booleanbetween(float a, float b, float x)
between
return x < Math.max(a, b) && x > Math.min(a, b);
booleanbetween(float number, float boundary1, float boundary2)
between
return ((number >= boundary1 && number <= boundary2) || (number <= boundary1 && number >= boundary2));
booleanbetween(float value, float min, float max)
between
return between(value, min, max, false);