Click here to Skip to main content
11,579,291 members (73,812 online)
Click here to Skip to main content

parseInt in Javascript

, 22 Mar 2012 CPOL 10.2K 1
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.

You may also be interested in...

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