Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13670 closed bug (notabug)

toFixed - Using toFixed(0) returns string

Reported by: batman.nsit@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

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

Change History (1)

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