When I try to convert a bigint passed from php, into a integer in nodejs, the result is always different, I couldn't figure out what's wrong with it.
> var a = parseInt('135601920000000040', 10);
undefined
> a
135601920000000030
> var a = parseFloat('135601920000000040');
undefined
> a
135601920000000030
> var n = Number('135601920000000040');
undefined
> n
135601920000000030
Not only node.js, it also happen to js interpreter in Firefox