I think we only need a single float in this expression, for the entire division operation to be float division rather than integer division (which is the source of the bug).  We can get that by changing `100` to `100.0` -- then there's no need for the extra `to_f` message sends.