The Round function rounds a number.
Parameter | Description |
---|---|
expression | Required. The numeric expression to be rounded |
numdecimalplaces | Optional. Specifies how many places to the right of the decimal are included in the rounding. Default is 0 |
The output of the code above will be:
How to round a number, keeping 2 decimals:
The output of the code above will be: