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.
The number nearest to value that has a number of fractional digits equal to digits. If value has fewer fractional digits than digits, value is returned unchanged.
For examples and comprehensive usage information about this and other overloads of the Round method, see the erload:System.Math.Round reference page.