List of utility methods to do Ceil
float | ceilToQuarterMs(float f) "rounds up" to nearest increment of 0.25, e.g. return (float) (Math.ceil(f * 4) / 4); |
int | ceilU(final float value) ceil U return (int) (value + 0.999999F); |
double | ceily(double a, double precision) Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal for at least a precision value.
return Math.ceil(a / precision) * precision;
|