« Previous | Next » 

Revision b77ba978

IDb77ba97890b700b755e44f18c12a1e097a60756c

Added by Michael Hanselmann over 13 years ago

utils.SplitTime: Fix rounding of milliseconds

Reported by Iustin.

It used to return this:

utils.SplitTime(1234.999999999999)

(1234, 1000)

while it should've returned this:

utils.SplitTime(1234.999999999999)

(1235, 0)

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences