ensure calculation of milliseconds isn't wrong because of implicit float->int conversions