Export (0) Print
Expand All

Decimal.Round Method

Rounds a value to the nearest integer or specified number of decimal places.

Name Description
Decimal.Round (Decimal) Rounds a decimal value to the nearest integer.
Decimal.Round (Decimal, Int32) Rounds a Decimal value to a specified number of decimal places.

Supported by the .NET Compact Framework.

Decimal.Round (Decimal, MidpointRounding) Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers.
Decimal.Round (Decimal, Int32, MidpointRounding) Rounds a decimal value to a specified precision. A parameter specifies how to round the value if it is midway between two other numbers.

Community Additions

ADD
Show:
© 2014 Microsoft