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
Yeah, you hit the limit of number precision. You can see the same effect everywhere, e.g. in the console:
Possible workarounds:
Use strings as you suggested. That's ok maybe, but you wouldn't be able to apply math operations on such numbers.
Use BigInt. It also has it own drawbacks: JSON doesn't support for BigInt, jora doesn't support for BigInt, you cannot mix BigInt and other types, you need write such numbers in BitInt notation (i.e. 123n)...
Custom parsing is quite complicated to implement, however it may to be added in the future. However it doesn't solve all the problems. I don't see a quick fix right now, sorry.
Ok. Then we can show icon near the number, that it was not parsed exactly. And add tooltip with exact (string) value. In index and report views.
This approximation can cause great mistakes.
Example:
Output:
This seems to be a high priority issue because it garbles data.
This is probably due to limitation that js stores numbers as floats. Probably this should be fixed by either custom parsing or converting to a string.
The text was updated successfully, but these errors were encountered: