Changeset 7617 for trunk/src/i18n

Show
Ignore:
Timestamp:
03/15/07 15:28:14 (22 months ago)
Author:
peller
Message:

fix more dojo.number unit tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/i18n/cldr/monetary.js

    r7585 r7617  
    22 
    33dojo.i18n.cldr.monetary.getData = function(code){ 
    4 // summary: A mapping of currency code to currency-specific formatting information. Returns an object with places and rounding. 
     4// summary: A mapping of currency code to currency-specific formatting information. Returns a unique object with properties: places, round. 
    55// code: an iso4217 currency code 
    66 
     
    1616        var roundingData = {CHF:5}; 
    1717 
    18         var places = placesData[code], rounding = roundingData[code]; 
     18        var places = placesData[code], round = roundingData[code]; 
    1919        if(typeof places == "undefined"){ places = 2; } 
    20         if(typeof rounding == "undefined"){ rounding = 0; } 
     20        if(typeof round == "undefined"){ round = 0; } 
    2121 
    22         return {places: places, rounding: rounding}; // Object 
     22        return {places: places, round: round}; // Object 
    2323};