[back] [prev] [next] [index] [root]
Floor
Returns the maximal integer less than or equal to a given number.
Syntax:
y := Floor(x);
See also: Trunc, Round, Ceil
Description:
Given an x in Z, Q or R the function returns
\max{ k\inZ : k <= x}.
The computation is done in the current precision of the real
(complex) field.
Example:
kash> Floor(3);
3
kash> Floor(-3);
-3
kash> Floor(3.5);
3
kash> Floor(-3.5);
> -4
<- back[back] [prev] [next] [index] [root]