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
floor, round.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.