floor


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


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