Man
Builtins
Mathematics
ceil (math)
ceil (Math)
Rounds up.
Arguments
number0
is the real number to round up.
Return values
number1
as a real number with the smallest integer value that is greater than or equal to
number0
.
Example
3.5 ceil print LF print -3.5 ceil print
Output:
4.000000 -3.000000