Closed
Bug 530331
Opened 15 years ago
Closed 15 years ago
toFixed method returns incorrect data
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 530345
People
(Reporter: bugzilla33, Unassigned)
References
()
Details
Attachments
(1 file)
1.31 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2b3) Gecko/20091115 Firefox/3.6b3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2b3) Gecko/20091115 Firefox/3.6b3
toFixed() method has broken rounding algorithm
Reproducible: Always
Steps to Reproduce:
run attachment
Actual Results:
rounded 0.5 is 1
but
rounded (on first position after dot) 0.95 is 0.9
Expected Results:
rounded 0.5 is 1
and
rounded (on first position after dot) 0.95 is 1.0
Reporter | ||
Updated•15 years ago
|
Version: unspecified → 3.6 Branch
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Severity: normal → major
Reporter | ||
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•