Discussion:
parselong for javascript
(too old to reply)
Jackson
2005-11-15 03:29:33 UTC
Permalink
Is there any function works like parselong in java.
I know until certain length I can use the parseInt.

S
Safalra
2005-11-15 14:47:20 UTC
Permalink
Post by Jackson
Is there any function works like parselong in java.
I know until certain length I can use the parseInt.
Javascript isn't typed like Java, so parseInt will always work, but if the
number is too large it will be stored as floating point internally.
--
Safalra (Stephen Morley)
http://www.safalra.com/programming/javascript/
Jasen Betts
2005-11-26 10:43:52 UTC
Permalink
Post by Jackson
Is there any function works like parselong in java.
I know until certain length I can use the parseInt.
until somewhere past 20 digits... is that enough?

Bye.
Jasen

Loading...