Rounding numbers in the input fields