Ceil Procedure

Returns the smallest integer that is greater than or equal to x.
Declaration
function Ceil(x as Number) as Number

Parameters

Return value

Number — Integer value.

Example

Code
print Ceil(5.5)
print Ceil(-6.5)
Output
6
-6