Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13670 closed bug (notabug)

toFixed - Using toFixed(0) returns string

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


Using toFixed(0) after parseFloat() on a number string, returns a string. A number data type is expected.

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: notabug
Status: newclosed

toFixed and parseFloat are not part of the jQuery API.

Note: See TracTickets for help on using tickets.