Click here to Skip to main content
13,141,561 members (27,157 online)
Click here to Skip to main content


1 bookmarked
Posted 23 Mar 2012

parseInt in Javascript

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



Compare Revision Minor Date Status Editor
3 - publicly available No 23-Mar-12 2:20 Available Sean Ewington
2 No 23-Mar-12 0:57 Composing Peace ON
1 No 22-Mar-12 21:42 Composing Peace ON


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...

You may also be interested in...

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