Java Math.floor library function

The Math.floor() function in Java is used to return the next lowest integer value (i.e. last largest integer not greaterthan the inputed value) by rounding up value if necessary.