Rounds a decimal value to a specified number of fractional digits.
d A decimal number to be rounded. decimals The number of decimal places in the return value.
The number nearest to d that contains a number of fractional digits equal to decimals.
For examples and comprehensive usage information about this and other overloads of the Round method, see the erload:System.Math.Round reference page.