Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

change float32 to float64 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Harry-3d
Copy link

@superoo7 Time is gained or lost due to the use of float32 for the type ChartItem.

Currently the following data is produced but it is incorrect
2021-03-07T00:00:13Z 49019.3672 Epoch:1615075213312.000000
2021-03-07T23:59:49Z 51313.0938 Epoch:1615161589760.000000
The correct data should be
2021-03-07T00:00:00Z 49019.3686 Epoch:1615075200000.000000
2021-03-08T00:00:00Z 51313.0926 Epoch:1615161600000.000000

Code attached to reproduce the issue
issue.txt

@Harry-3d Harry-3d marked this pull request as ready for review March 10, 2021 08:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant