Option to not change float precision? #12
Replies: 2 comments 1 reply
-
|
If you're using the .NET version of the code, your numbers will be left alone if you set the property For the JavaScript version (and thus web and VSCode ones), numbers are unavoidably parsed as double precision floats before being written back out. Addressing that will require rewriting using a JSON parsing library rather than relying on There's a related discussion in this issue. |
Beta Was this translation helpful? Give feedback.
-
|
As of version 3, all implementations of FracturedJson correctly preserve numbers, no matter how many digits. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! Thanks so much for making this, it works really well! My only concern with using it is the removal of precision for floating numbers since I am using this with Python and engineering parameters where that matters more. Would it be possible to add a "don't change decimal precision" option? Either way, thanks!
Beta Was this translation helpful? Give feedback.
All reactions