Export (0) Print
Expand All
Expand Minimize

ROUND Function (VisioShapeSheet)

Last modified: June 17, 2011

Applies to: Office 2013 | Visio 2013

In this article
Syntax
Remarks
Example 1
Example 2
Example 3

Rounds a number to the precision represented by numberofdigits.

ROUND(number,numberofdigits)

Parameters

Name

Required/Optional

Data Type

Description

number

Required

Number

The number to round off.

numberofdigits

Required

Number

The number of decimal places of precision.

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.

ROUND(123.654,2)

Returns 123.65.

ROUND(123.654,0)

Returns 124.

ROUND(123.654,-1)

Returns 120.

Show:
© 2015 Microsoft