Opened 7 years ago

Closed 7 years ago

#16411 closed defect (fixed)

IE6-8: round(0.95, 0) returns 2

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.7.5
Component: General Version: 1.7.3
Keywords: Cc: Adam Peller, Eugene Lazutkin
Blocked By: Blocking:

Description

dojo.number.round(0.95, 0) and dojox.math.round(0.95, 0) both return 2 instead of 1 for IE6/7/8. This seems pretty severe.

Attachments (1)

16411.patch (1.7 KB) - added by Douglas Hays 7 years ago.
patch for trunk

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Douglas Hays

Cc: Adam Peller Eugene Lazutkin added
Priority: undecidedhigh

Changed 7 years ago by Douglas Hays

Attachment: 16411.patch added

patch for trunk

comment:2 Changed 7 years ago by Douglas Hays

Milestone: tbd1.7.5
Owner: set to Douglas Hays
Status: newassigned

comment:3 Changed 7 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

In [30094]:

Fixes #16411. IE only needed a workaround for rounding [0.5,0.95) instead [0.5,1.0). Added automated tests. !strict

Note: See TracTickets for help on using tickets.