Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java178 fr.setMaximumFractionDigits( def.getMaximumFractionDigits() ); in TestAPI()
179 if(fr.getMaximumFractionDigits() != def.getMaximumFractionDigits() ) { in TestAPI()
DNumberRegression.java101 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
106 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
1006 fmt2.setMaximumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840()
1453 || format.getMaximumFractionDigits() != 340) { in Test4185761()
1458 " fracMax: " + format.getMaximumFractionDigits()); in Test4185761()
DNumberFormatTest.java878 int max = nf.getMaximumFractionDigits(); in TestCurrencyPatterns()
1042 || df.getMaximumFractionDigits() != DIGITS[4 * i + 3]) { in TestScientific()
1047 + df.getMaximumFractionDigits() + ", expect " in TestScientific()
2024 int maxFracDigits = f.getMaximumFractionDigits(); in TestBigDecimalRounding()
/external/icu/icu4c/source/test/intltest/
Dnmfmapts.cpp217 fr->setMaximumFractionDigits( def->getMaximumFractionDigits() ); in testAPI()
218 if(fr->getMaximumFractionDigits() != def->getMaximumFractionDigits() ) { in testAPI()
Dnumrgts.cpp295 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
301 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
Dnumfmtst.cpp1313 df.getMaximumFractionDigits() != DIGITS[4*i+3]) { in TestScientific()
1319 df.getMaximumFractionDigits() + ", expect " + in TestScientific()
1715 int32_t max = nf->getMaximumFractionDigits(); in TestCurrencyPatterns()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java87 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormatICU
88 return fIcuNfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
DDecimalFormatICU.java151 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormatICU
152 return fIcuDecfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java128 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormatJDK
129 return fJdkNfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1245 return getMinimumIntegerDigits() + getMaximumFractionDigits(); in precision()
1247 return isIntegral ? 0 : getMaximumFractionDigits(); in precision()
1287 maxFractionalDigits = getMaximumFractionDigits(); in getFixedDecimal()
1530 count = useSigDig ? Integer.MAX_VALUE : getMaximumFractionDigits(); in subformatFixed()
4453 if (getMaximumFractionDigits() > 0 || decimalSeparatorAlwaysShown) {
4458 for (i = 0; i < getMaximumFractionDigits(); ++i) {
5416 if (getMaximumFractionDigits() > DOUBLE_FRACTION_DIGITS) { in readObject()
6077 BigDecimal byWidth = getMaximumFractionDigits() > 0 ? in resetActualRounding()
6078 BigDecimal.ONE.movePointLeft(getMaximumFractionDigits()) : BigDecimal.ONE; in resetActualRounding()
6091 if (getMaximumFractionDigits() > 0) { in resetActualRounding()
[all …]
DNFSubstitution.java309 if (numberFormat.getMaximumFractionDigits() == 0) { in doSubstitution()
DNumberFormat.java1173 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
DMeasureFormat.java409 int maxFrac = numberFormat.nf.getMaximumFractionDigits(); in formatMeasureRange()
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h893 int32_t getMaximumFractionDigits(void) const;
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp212 return format(getMaximumFractionDigits(), appendTo, L"%.16f", number); in format()
Ddecimfmt.cpp1127 … result.quickInit(number) && result.visibleDecimalDigitCount <= getMaximumFractionDigits()) {
2091 count = useSigDig ? INT32_MAX : getMaximumFractionDigits();
4788 if (getMaximumFractionDigits() > 0 || fDecimalSeparatorAlwaysShown) {
4797 for (i = 0; i < getMaximumFractionDigits(); ++i) {
5289 return getMinimumIntegerDigits() + getMaximumFractionDigits();
5291 return getMaximumFractionDigits();
5565 return getMaximumFractionDigits();
Dnfsubs.cpp618 if (numberFormat->getMaximumFractionDigits() == 0) { in doSubstitution()
Dnumfmt.cpp1119 NumberFormat::getMaximumFractionDigits() const in getMaximumFractionDigits() function in NumberFormat
/external/v8/src/
Di18n.cc392 factory->NewNumberFromInt(number_format->getMaximumFractionDigits()), in SetResolvedNumberSettings()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...