Monday, October 14, 2013

Math.Round Method

Rounds a value to the nearest integer or to the specified number of fractional digits.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List



Name
Description
Rounds a decimal value to the nearest integral value.
Rounds a double-precision floating-point value to the nearest integral value.
Rounds a decimal value to a specified number of fractional digits.
Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two numbers.
Rounds a double-precision floating-point value to a specified number of fractional digits.
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 numbers.
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 numbers.
Rounds a double-precision floating-point value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two numbers.

Source : http://msdn.microsoft.com/en-us/library/system.math.round.aspx

No comments:

Post a Comment