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
This is floating point precision issue - because 0.12 cannot be precisely represented in the IEEE754 format - thus it's represented as the value as you see.
when I encode and then decode I'm not getting expected output..
Output -
{ '1': 0.11999999731779099 }
Expected -
{"1":0.12}
The text was updated successfully, but these errors were encountered: