Returns a number rounded to a specified number of decimal places.
Round ( expression [, decimalplaces] )
| expression | Any valid numeric expression. |
| decimalplaces | [optional] Number indicating how many places to the right of the decimal are included in the rounding. If omitted, Round returns an integer. |
Local $x = Round(-1.582, 1) ;returns -1.6
Local $y = Round(3.1415, 9) ;no change
Local $z = Round(123.5, -1) ;returns 120