Java Math.ceil library function

The Math.ceil() function in Java is used to return the next highest integer value by rounding up value if necessary.