ceil

ceil

> Functions

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