Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp606 FixedDecimal fd = df->getFixedDecimal(44, status); in TestFixedDecimal()
613 fd = df->getFixedDecimal(123.456, status); in TestFixedDecimal()
624 fd = df->getFixedDecimal(123.456, status); in TestFixedDecimal()
635 fd = df->getFixedDecimal(123.01, status); in TestFixedDecimal()
646 fd = df->getFixedDecimal(123.06, status); in TestFixedDecimal()
657 fd = df->getFixedDecimal(123, status); in TestFixedDecimal()
668 fd = df->getFixedDecimal(1.23, status); in TestFixedDecimal()
677 fd = df->getFixedDecimal(uprv_getInfinity(), status); in TestFixedDecimal()
680 fd = df->getFixedDecimal(0.0, status); in TestFixedDecimal()
682 fd = df->getFixedDecimal(uprv_getNaN(), status); in TestFixedDecimal()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java138 … return pluralRules.select(((DecimalFormat) numberFormat).getFixedDecimal(quantity)); in computeVariant()
DCompactDecimalFormat.java332 String pluralVariant = getPluralForm(getFixedDecimal(number, toDigitList(number))); in toAmount()
DPluralFormat.java624 dec = ((DecimalFormat) numberFormat).getFixedDecimal(numberMinusOffset); in format()
DDecimalFormat.java1255 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
1266 /*package*/ FixedDecimal getFixedDecimal(double number) { in getFixedDecimal() method in DecimalFormat
1268 return getFixedDecimal(number, digitList); in getFixedDecimal()
1271 FixedDecimal getFixedDecimal(double number, DigitList dl) { in getFixedDecimal() method in DecimalFormat
1314 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
DMessageFormat.java2105 FixedDecimal dec = ((DecimalFormat)context.formatter).getFixedDecimal(number); in select()
/external/icu/icu4c/source/i18n/unicode/
Ddecimfmt.h1930 FixedDecimal getFixedDecimal(double number, UErrorCode &status) const;
1938 FixedDecimal getFixedDecimal(const Formattable &number, UErrorCode &status) const;
1946 FixedDecimal getFixedDecimal(DigitList &number, UErrorCode &status) const;
/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp141 FixedDecimal fd = decFmt->getFixedDecimal(quantity, status); in format()
Dplurfmt.cpp267 dec = decFmt->getFixedDecimal(numberObject, status); in format()
273 dec = decFmt->getFixedDecimal(numberMinusOffset, status); in format()
Ddecimfmt.cpp1113 DecimalFormat::getFixedDecimal(double number, UErrorCode &status) const {
1137 result = getFixedDecimal(digits, status);
1143 DecimalFormat::getFixedDecimal(const Formattable &number, UErrorCode &status) const {
1155 return getFixedDecimal(clonedDL, status);
1160 return getFixedDecimal(number.getDouble(status), status);
1165 return getFixedDecimal(number.getDouble(status), status);
1175 return getFixedDecimal(digits, status);
1183 DecimalFormat::getFixedDecimal(DigitList &number, UErrorCode &status) const {
Dmsgfmt.cpp1958 FixedDecimal dec = decFmt->getFixedDecimal(context.number, ec); in select()