Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13669 closed bug (notabug)

parseInt - A string like "050" or "0088" is not parsed correctly

Reported by: batman.nsit@… 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.

Change History (1)

comment:1 Changed 7 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.