Possible Duplicate:
How to avoid scientific notation for large numbers in javascript?
Hi All,
Doing something like this
alert(999999999999999999999999999999999999999999999999);
results in this

How to i stop converting a number to a string from saying 1e+XX or Infinity?
There is only so many digits that will actually be able to maintain precision so when you reach that limit it starts using the e+ notation…
alert(‘ ‘+ 12345678901234567890 + ‘ ‘)
Will output 12345678901234567000
So for example also if you did
alert(‘ ‘+ 999999999999999999 + ‘ ‘)
You get 1000000000000000000
GL…