Export (0) Print
Expand All

Math.Round Method

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

Name Description
Math.Round (Decimal) Rounds a decimal value to the nearest integer.

Supported by the .NET Compact Framework.

Math.Round (Double) Rounds a double-precision floating-point value to the nearest integer.

Supported by the .NET Compact Framework.

Math.Round (Decimal, Int32) Rounds a decimal value to a specified number of fractional digits.

Supported by the .NET Compact Framework.

Math.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.
Math.Round (Double, Int32) Rounds a double-precision floating-point value to a specified number of fractional digits.

Supported by the .NET Compact Framework.

Math.Round (Double, MidpointRounding) Rounds a double-precision floating-point value to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers.
Math.Round (Decimal, Int32, MidpointRounding) Rounds a decimal value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two other numbers.
Math.Round (Double, Int32, MidpointRounding) Rounds a double-precision floating-point value to the specified number of fractional digits. A parameter specifies how to round the value if it is midway between two other numbers.

Community Additions

ADD
Show:
© 2014 Microsoft