I am very upset about the way to convert a float into integer requiring rounding.
$ python3
>>> 18.31
18.31
>>> int(18.31 * 100)
1830
>>> 18.31 * 100
1830.9999999999998
>>> round(18.31 * 100)
1831
Of course working with float require more clock cycles, is round
the best performing way to do such a simple operation?