ROUND function

Microsoft Office ShapeSheet

ROUND function

See also

Rounds a number to the precision represented by numberofdigits.

Syntax

ROUND(number,numberofdigits)

Remarks

If numberofdigits is greater than 0, number is rounded by numberofdigits to the right of the decimal. If numberofdigits is 0, number is rounded to an integer. If numberofdigits is less than 0, number is rounded by numberofdigits to the left of the decimal.

Example 1

ROUND(123.654,2)

Returns 123.65.

Example 2

ROUND(123.654,0)

Returns 124.

Example 3

ROUND(123.654,-1)

Returns 120.