ROUND


Description Rounds the given number to the supplied number of decimal places.

Syntax ROUND ( number, precision )

Argument Description
number Any value.
precision The number of decimal places to which number is rounded. When a negative precision is used, the digits to the right of the decimal point are dropped and the absolute number of significant digits specified by precision are replaced with zeros.If precision is 0, number is rounded to the nearest integer.

Example This function returns 123.46:

ROUND(123.456, 2)

This function returns 9900:

ROUND(9899.435, -2)

See Also CEILING, FLOOR, INT, MOD, ROUNDDOWN, ROUNDUP, TRUNC