 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jackson Guest
|
Posted: Tue Nov 15, 2005 8:29 am Post subject: parselong for javascript |
|
|
Is there any function works like parselong in java.
I know until certain length I can use the parseInt.
S |
|
| Back to top |
|
 |
Safalra Guest
|
Posted: Tue Nov 15, 2005 2:47 pm Post subject: Re: parselong for javascript |
|
|
On Tue, 15 Nov 2005 03:29:33 GMT, Jackson wrote:
| Quote: | 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/ |
|
| Back to top |
|
 |
Jasen Betts Guest
|
Posted: Sat Nov 26, 2005 3:43 pm Post subject: Re: parselong for javascript |
|
|
On 2005-11-15, Jackson <Jackson (AT) dddd (DOT) com> wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|