Equinox Online Help - Language Reference - A to Z
Round |
|
---|---|
Applies to | |
Syntax | Round(NumberItem, BaseExpression [,RoundupExpression]) |
Action | [Function] Rounds a number up or down. |
Scope | Usable anywhere. |
Notes | This function rounds NumberItem up or down, to the nearest multiple of BaseExpression. RoundupExpression, which defaults to true, controls whether the number is rounded to the nearest acceptable value; if false is supplied, the number is truncated to the smaller value. |
Category | Maths |
See Also | Abs, Acos, Asin, Atan, Cos, Deg, Int, Log, Max, Min, MinMax, Rad, Rnd, RndStart, Sign, Sin, Sqrt, Tan |
Example | In the following examples, the adjacent comments show what is printed (in the Print window) by each statement. Print Round (45, 10) | 50 |