Home
last modified time | relevance | path

Searched refs:currencyMap (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/samples/numfmt/
Dmain.cpp145 } currencyMap[]={ in setNumberFormatCurrency_2_4() local
154 for(i=0; i<UPRV_LENGTHOF(currencyMap); ++i) { in setNumberFormatCurrency_2_4()
155 if(strcmp(currency, currencyMap[i].currency)==0) { in setNumberFormatCurrency_2_4()
159 if(i==UPRV_LENGTHOF(currencyMap)) { in setNumberFormatCurrency_2_4()
167 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4()
168 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4()
170 dnf->setRoundingIncrement(currencyMap[i].roundingIncrement); in setNumberFormatCurrency_2_4()
173 symbols.setSymbol(DecimalFormatSymbols::kCurrencySymbol, currencyMap[i].symbol); in setNumberFormatCurrency_2_4()