ceil
1.6.0
ceil() -> Number
Returns the smallest integer greater than or equal to the number.
An instance-method version of Math.ceil
.
Examples
Math.ceil(4.1) //-> 5
(4.1).ceil() //-> 5
(-4.1).ceil() //-> -4
ceil() -> Number
Returns the smallest integer greater than or equal to the number.
An instance-method version of Math.ceil
.
Math.ceil(4.1) //-> 5
(4.1).ceil() //-> 5
(-4.1).ceil() //-> -4