next up previous contents
Next: The Sine Function Up: Mathematical Functions Previous: The Modulus Function

The Rounding Function

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

Returns: integer

Synopsis: This functions rounds the argument x to the nearest integer.

Examples:

> round(5.5555555);
> round(1.3);
> round(-7.8);

See also: floor, mod, trunc




Gaston Gonnet
1998-09-15