Rounds the Float to a specified number of decimal places. Uses RoundingMode.HALF_UP.
The rounded Float.
The number of decimal places to round to.