Returns the rounded value. Half values are rounded to even. Optionally the number of decimal digits can be defined.
double Round(double/int value; [int digits])
value |
A number. |
digits |
The number of decimal digits in the return value. Negative numbers are also supported. |
Example
Round(735; -1)
Returns 740.