Modify ↓
Ticket #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: | ||
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Ask on a forum.