Fix rounding error

The floor function sometimes cause the total value to display the wrong number.

Example: 8.199999999... will be displayed as 8.19 instead of 8.2