-
Artem Fetishev authored
For example, DurationValue("4236579305ms", ...) will return 4236579304, because the result of diving 4236579305 by 1000 and then multiplying the result by 1000 will be 4.2365793049999995e+09, which when converted to int64 will result in incorrect value. Signed-off-by:
Artem Fetishev <rtm@victoriametrics.com>
Artem Fetishev authoredFor example, DurationValue("4236579305ms", ...) will return 4236579304, because the result of diving 4236579305 by 1000 and then multiplying the result by 1000 will be 4.2365793049999995e+09, which when converted to int64 will result in incorrect value. Signed-off-by:
Artem Fetishev <rtm@victoriametrics.com>