|
-
Jun 28th, 2002, 04:02 AM
#1
Thread Starter
Fanatic Member
parseInt('08') returns 0
Hi,
I am having a real problem with this. I want to convert a string '08' to an integer 8, but the parseInt function seems to return 0 for this string... It also seems to do the same with '09'.
All values less than 8 work fine though .. ?
Does anyone know of a function that converts these strings correctly?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|