Opened 12 years ago

Closed 12 years ago

#6279 closed defect (fixed)

dojo.number.format round

Reported by: guest Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: General Version: 1.0
Keywords: round number Cc:
Blocked By: Blocking:

Description

Apparently in dojo.number.format the round option isn't passed. In numbers.js line 104 round isn't being passed to dojo.number._formatAbsolute. So at line 163 if(!(options.round < 0)) is always true and dojo.number.round is executed. I've redefiend dojo.number.round adding a console.debug(multiple), and it gives "undefined".

Change History (3)

comment:1 Changed 12 years ago by Adam Peller

Owner: changed from anonymous to Adam Peller

comment:2 Changed 12 years ago by Adam Peller

Milestone: 1.2

comment:3 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [13233]) Honor round option in format(). Fixes #6279

Note: See TracTickets for help on using tickets.