Rounds a Double value to a specified number of decimal places.
The rounded Double value.
The number of decimal places to round to.