Alert operator alert(parseInt("0x00C02700010004E9",16)); incorrectly displays 54086076498707690 instead of the correct value 54086076498707689. Pay attention to the last two digits!
alert(parseInt("0x00C02700010004E9",16));
Can anyone shed light on what I'm doing wrong?
Yes! Javascript is not accurate for many numbers! See: Large numbers mistakenly rounded in Javascript