Export (0) Print
Expand All

Visual Basic for Applications Reference

Visual Studio 6.0

Round Function

See Also    Example    Specifics

Description

Returns a number rounded to a specified number of decimal places.

Syntax

Round(expression [,numdecimalplaces])

The Round function syntax has these parts:

Part Description
expression Required. Numeric expression being rounded.
numdecimalplaces Optional. Number indicating how many places to the right of the decimal are included in the rounding. If omitted, integers are returned by the Round function.

Show:
© 2014 Microsoft