You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi nlohmann,
I want to know how to parse data like this:
I use the parse () function to parse the original string and use ["data"] [0] ["amount"] to get the value,but I can't get accurate data, what I got is 7.953084699036454 instead of 7.953084699036454431
Looking forward to your reply, thanks!
The text was updated successfully, but these errors were encountered:
The number 7.953084699036454431 cannot be expressed exactly by a 64 bit double, see https://float.exposed/0x401fcff56f72b7e2. The closest you can get is the number with hex representation 0x401fcff56f72b7e2. For this number, 7.953084699036454 is the shortest decimal representation. Therefore, this is used by the library.
Hi nlohmann,
I want to know how to parse data like this:
I use the parse () function to parse the original string and use ["data"] [0] ["amount"] to get the value,but I can't get accurate data, what I got is 7.953084699036454 instead of 7.953084699036454431
Looking forward to your reply, thanks!
The text was updated successfully, but these errors were encountered: