Changeset 7617 for trunk/src/i18n
- Timestamp:
- 03/15/07 15:28:14 (22 months ago)
- Files:
-
- 1 modified
-
trunk/src/i18n/cldr/monetary.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/i18n/cldr/monetary.js
r7585 r7617 2 2 3 3 dojo.i18n.cldr.monetary.getData = function(code){ 4 // summary: A mapping of currency code to currency-specific formatting information. Returns a n 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. 5 5 // code: an iso4217 currency code 6 6 … … 16 16 var roundingData = {CHF:5}; 17 17 18 var places = placesData[code], round ing= roundingData[code];18 var places = placesData[code], round = roundingData[code]; 19 19 if(typeof places == "undefined"){ places = 2; } 20 if(typeof round ing == "undefined"){ rounding= 0; }20 if(typeof round == "undefined"){ round = 0; } 21 21 22 return {places: places, round ing: rounding}; // Object22 return {places: places, round: round}; // Object 23 23 };