Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12013 closed bug (invalid)

Problem on parseInt of '08' and '09'

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

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 (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: invalid
Status: newclosed

Ask on a forum.

Note: See TracTickets for help on using tickets.