Returns the smallest integer greater than or equal to its numeric argument.
Math.ceil(number)
The required number argument is a numeric expression.
The return value is an integer value equal to the smallest integer greater than or equal to its numeric argument.
floor Method | Math Object Methods
Applies To: Math Object