Lines Matching refs:nf
101 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument
114 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); in setNumberFormatCurrency_2_4()
167 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4()
168 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4()
190 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument
206 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6()
208 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6()
226 NumberFormat *nf; in showCurrencyFormatting() local
243 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode); in showCurrencyFormatting()
255 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode); in showCurrencyFormatting()
257 setNumberFormatCurrency_2_4(*nf, sampleCurrencies[j], errorCode); in showCurrencyFormatting()
267 nf->format(12345678.93, output); in showCurrencyFormatting()