Bug Tracker

Modify

Ticket #12013 (closed bug: invalid)

Opened 11 months ago

Last modified 11 months ago

Problem on parseInt of '08' and '09'

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

Hello, I have a problem with the function parseInt() :

parseInt('01') => 1 parseInt('02') => 2 parseInt('03') => 3 parseInt('04') => 4 parseInt('05') => 5 parseInt('06') => 6 parseInt('07') => 7 parseInt('08') => 0 parseInt('09') => 0

I don't understand why I have those results with '08' and '09'.

Best regards, Max

Change History

comment:1 Changed 11 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Ask on a forum.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.