The maximum integer JavaScript value can represent without loss of precision 9007199254740992.
Your number is clearly larger, so JavaScript will use a floating point number for this, which is not accurate. Therefore, in this case, it seems that the last two numbers are rounded.
Just use a string representation or, if you need to use the actual value of a number, check out some BigMath libraries.
Sirko source share