Round(
     double:value
)
double

Arguments

value

Input value.

Return value

Rounded input value.

Description

Rounds the input value to the nearest integer, or away from zero if equidistant.

Example:

Output( Round(1.4) + " " + Round(-1.5) + " " + Round(1.6) );
--> 1.000000 -2.000000 2.000000

See also:
Ceil
Floor