Closed Bug 530331 Opened 15 years ago Closed 15 years ago

toFixed method returns incorrect data

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows 7
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 530345

People

(Reporter: bugzilla33, Unassigned)

References

()

Details

Attachments

(1 file)

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
Version: unspecified → 3.6 Branch
Attached file source
Severity: normal → major
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.

Attachment

General

Creator:
Created:
Updated:
Size: