Click here to Skip to main content
Click here to Skip to main content

parseInt in Javascript

, 23 Mar 2012 CPOL
parseInt('08') and parseInt('09') returns 0 because it interprets it as octal number
This is an old version of the currently published tip/trick.

This article is still being written and is not currently available for general viewing.

Please go to the Client side scripting Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 23 Mar 2012
Article Copyright 2012 by Peace ON
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid