floor
floor — rounds a real number down to its integer value.
Arguments
- number
Any number. Non-numbers are treated as zero.
Returns
The largest integer which is less than or equal to the number.
Example
Gamma> floor(1.2);
1
Gamma> floor(1.9);
1
Gamma> floor(-1.2);
-2
Gamma> floor(-1.9);
-2
Gamma>