Initializing help system before first use

ceil

ceil


Purpose
Round a number to the next largest integer.
Synopsis
function ceil(r:real):integer
Argument
Real number to be rounded
Return value
Rounded value.
Example
In the following, i takes the value 6, j takes the value -6, and k takes the value 13:
i := ceil(5,6)
j := ceil(-6,7)
k := ceil(12,3)
Related topics