ceil

ceil(number number) → integer result
Computes the rounded up value of given number.
The rounded down value can be computed using floor and the closest integer using round.

Returns number rounded up to the nearest integer. You can round down with floor, and round to the nearest integer with round.

Parameters
Return
Examples

ceil(1) // 1 ceil(1.8) // 2 ceil(2.3) // 3 ceil(3.5) // 4 ceil(-12.79) // -12