Round
The Round function returns the rounded value of the specified number.
This function uses the default rounding convention of
MidpointRounding.ToEven (the strategy of rounding to the nearest
number; when a number is halfway between two others, it\'s rounded to
the nearest even number).
Prototype
Round(Value; Decimals)
Arguments
Value Number By value
A valid number, an expression or a variable (Studio Only) that evaluates a number.
Decimals Number By value
A valid number, an expression or a variable (Studio Only) that evaluates a number.
Returns
Number
Parameter Value rounded to the nearest Decimal
Exception
Undefined
Undefined is returned if the Value or Decimals is Undefined or is not a Number.
Examples
Round(9.1; 0)
This will return 9.
Round(9.5; 0)
This will return 10.