ceil

ceil ( number number ) : number

Returns the next highest integer value by rounding up

Example


console(ceil(1.2)) // -> 2


See also

roundAt
floor

Parameters

number

The number to round.