Corrects a floating number to a given number of decimal places.
the value to round
the number of decimals
the rounded value
Corrects a floating number to a given number of decimal places.