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()
Try one of these
1. Use a string
2. Split your number in two and save the smaller parts to an array
3. Bignum library
4. Use a smaller number if you can