Click here to Skip to main content
11,632,260 members (75,529 online)
Click here to Skip to main content

parseInt in Javascript

, 23 Mar 2012 CPOL 10.4K 1
parseInt('08') and parseInt('09') returns 0 because it interprets it as octal number


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Peace ON
Software Developer (Senior)
India India
Short Stories Stories We Live...

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.150728.1 | Last Updated 23 Mar 2012
Article Copyright 2012 by Peace ON
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid