Side navigation
#13670 closed bug (notabug)
Opened March 26, 2013 06:05PM UTC
Closed March 26, 2013 06:07PM UTC
toFixed - Using toFixed(0) returns string
| Reported by: | batman.nsit@gmail.com | 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.
Attachments (0)
Change History (1)
Changed March 26, 2013 06:07PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
toFixed and parseFloat are not part of the jQuery API.