next up previous contents
Next: Gaussian Elimination Up: Mathematical Functions Previous: The Factorial Function

The Floor Function

Calling Sequence:
floor(
x)
Parameters:
x : real

Returns: integer

Synopsis: This returns the largest integer less than or equal to xie. $\lfloor x \rfloor$.

Examples:

> floor(-5.3);
> floor(4.4);
> floor(7);

See also: mod, round, trunc




Gaston Gonnet
1998-09-15