Side navigation
#13669 closed bug (notabug)
Opened March 26, 2013 06:02PM UTC
Closed March 26, 2013 06:05PM UTC
parseInt - A string like "050" or "0088" is not parsed correctly
| Reported by: | batman.nsit@gmail.com | 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.
Attachments (0)
Change History (1)
Changed March 26, 2013 06:05PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
parseInt is not part of the jQuery API.
It's likely you're not specifying the radix parameter