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