round$

Syntax

result = ROUND$(number, precision)

Arguments

result: text

number: numeric

precision: integer

Meaning

Returns the value of number rounded off to precision number of decimal points, as a string. The method of rounding is: 5 or more: upwards; below 5: downwards.
If number is an empty value, result will be "0" (instead of the empty string you might expect).

Example

result = round(1200.125, 2)

Result

result is '1200.13'