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
{{ message }}
This repository has been archived by the owner on May 16, 2022. It is now read-only.
Some Float-Point Numbers are not Deserialize correctly
Example:
var x = JsonSerializer.Deserialize<object>("{\"a\":59.08634249999999}");
will result in
{[a, 5.90863425E+15]}
The text was updated successfully, but these errors were encountered:
tomsoftware
changed the title
Unable to Deserialize some doubles e.g. "59.08634249999999"
Unable to Deserialize some doubles e.g. "59.08634249999999" will be "5.90863425E+15"
Dec 15, 2020
@neuecc : It seems like you do not maintain this library anymore... that's a pity. Can you maybe note that on the readme page or name a new maintainer?
For example this Issue feels really bad cause it occurs only sporadically on some numbers (the example-number and it's number of digits was first triggert by simply using JSON.Stringify() ) and if no one is able to fix issues like this no one should use this library :-(
Some Float-Point Numbers are not Deserialize correctly
Example:
will result in
The text was updated successfully, but these errors were encountered: