Can we just leave it as a float and worry about rounding it somewhere else? Converting it to an int loses accuracy and it should be a decision you make in the presentation layer instead.