Open rualark opened 3 years ago
Yeah, you hit the limit of number precision. You can see the same effect everywhere, e.g. in the console:
Possible workarounds:
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:![image](https://user-images.githubusercontent.com/15198808/89177864-017c7b00-d595-11ea-976f-e8da84146e70.png)
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.