[RESOLVED] parseInt() problem
returns 10150878873354252 using chrome 22.
Why is it incrementing by +1?
That's a pretty big number... it's probably greater than Chrome can handle properly. If you test several similar numbers (10150878873354253, 10150878873354254, 10150878873354255, 10150878873354256 etc.) you can see that every other number fail to parse correctly.
So, too big number! :)
The value you have there is way out of range.
You learn something new everyday! The number is a fb id for a photo. My mistake is using the id as a number instead of a string which probably makes more sense.
Thanks for the info!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)