Opened 9 years ago
Closed 9 years ago
#13670 closed bug (notabug)
toFixed - Using toFixed(0) returns string
Reported by: | 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.
Note: See
TracTickets for help on using
tickets.
toFixed and parseFloat are not part of the jQuery API.