I set up a system that parses a compact data string into JSON. I'm using a 19 digit number to store ids. Unfortunately any number greater than 17 digits, parseFloat()
rounds the last few digits.
This breaks the whole data string. Can I fix this?
For example 8246295522085275215
gets turned into 8246295522085276000
. Why is this?