Opened 10 years ago
Closed 10 years ago
#13669 closed bug (notabug)
parseInt - A string like "050" or "0088" is not parsed correctly
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The parseInt function is not working as expected.
"050" is parsed to an int less than 50. Sometimes more preceding 0 mean more delta.
Note: See
TracTickets for help on using
tickets.
parseInt is not part of the jQuery API.
It's likely you're not specifying the radix parameter