Closed dimastbk closed 1 year ago
Hi! This PR add two fixes for parsing excel datetime:
f64.round()
0.25951736111111101 * 24f64 * 60f64 * 60f64 * 1e+3f64 = 22422299,99999999
22422299,99999999 as i64 = 22422299 = 06:13:42.299
22422299,99999999.round() as i64 = 22422300 = 06:13:42.300
Thanks!
Hi! This PR add two fixes for parsing excel datetime:
f64.round()
:0.25951736111111101 * 24f64 * 60f64 * 60f64 * 1e+3f64 = 22422299,99999999
before:22422299,99999999 as i64 = 22422299 = 06:13:42.299
after:22422299,99999999.round() as i64 = 22422300 = 06:13:42.300