Closed Sebbo94BY closed 1 year ago
There's no point in using microtime(true)
if we don't want float, i.e. microseconds, since intval()
will just truncate of the microseconds information and result in just "seconds".
Since microtime(true)
is set explicitly and I believe intentionally, the fix should be to change the initial types from int to float so there's no type conversion.
Ok, probably the better solution. 😅
Thanks for updating and merging it!
Fixes the following error:
Implicit conversion from float to int loses precision
Exception: