Bug Tracker

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: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


The parseInt function is not working as expected.

"050" is parsed to an int less than 50. Sometimes more preceding 0 mean more delta.

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: notabug
Status: newclosed

parseInt is not part of the jQuery API.

It's likely you're not specifying the radix parameter

Note: See TracTickets for help on using tickets.