Round Function
The Round function rounds a number to a specified number of decimal places.
Syntax 1
Round(number)
The Round function rounds a number to a specified number of decimal places.
Arguments
number
Numeric - The number to round.
Syntax 2
Round(number, digits)
The Round function rounds a number to a specified number of decimal places.
Arguments
number
Numeric - The number to round.
digits
Integer - The number of significant digits to the right of the decimal point in the return value. If omitted, 0 is used.
Remarks
Example:
Round(4.25610); // returns 4
Example:
Round(4.25610, 2); // returns 4.26