Searched refs:setRoundingMode (Results 1 - 25 of 27) sorted by relevance

12

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java206 public void setRoundingMode(RoundingMode roundingMode) { method in class:NumberFormatICU
208 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING);
210 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN);
212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN);
216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN);
218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP);
220 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
222 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
H A DDecimalFormatICU.java364 public void setRoundingMode(RoundingMode roundingMode) { method in class:DecimalFormatICU
366 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING);
368 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN);
370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN);
374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN);
376 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP);
378 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
380 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
/external/icu/icu4c/source/test/intltest/
H A Ddcfmtest.cpp399 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling);
401 fmtr.setRoundingMode(DecimalFormat::kRoundFloor);
403 fmtr.setRoundingMode(DecimalFormat::kRoundDown);
405 fmtr.setRoundingMode(DecimalFormat::kRoundUp);
407 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven);
409 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown);
411 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp);
415 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary);
417 fmtr.setRoundingMode(DecimalFormat::kRoundFloor);
H A Ddcfmapts.cpp481 pat.setRoundingMode((DecimalFormat::ERoundingMode)mode);
542 pat.setRoundingMode((DecimalFormat::ERoundingMode)0);
545 errln((UnicodeString)"ERROR: Rounding increment not zero after setRoundingMode");
H A Dtufmtts.cpp436 nf->setRoundingMode(DecimalFormat::kRoundDown);
H A Dnumfmtst.cpp2891 df->setRoundingMode((DecimalFormat::ERoundingMode)mode);
7347 decfmt->setRoundingMode(items[i].mode);
7571 format.setRoundingMode(roundingModes[i]);
H A Dmeasfmttest.cpp711 df->setRoundingMode(DecimalFormat::kRoundDown);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java39 * decF4.setRoundingMode(java.math.BigDecimal.ROUND_HALF_UP) does not work
60 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
71 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
84 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
344 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DNumberFormatTest.java152 format.setRoundingMode(roundingModes[i]);
172 nff.setRoundingMode(((Integer) item[0]).intValue());
1949 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP);
1957 nf.setRoundingMode(mode);
2028 f.setRoundingMode(BigDecimal.ROUND_DOWN);
2032 f.setRoundingMode(BigDecimal.ROUND_HALF_UP);
2944 * Tests the method public int getRoundingMode() public void setRoundingMode(int roundingMode)
2981 // Tests the function 'public void setRoundingMode(int roundingMode)'
2983 tgrm.setRoundingMode(0);
2984 errln("NumberFormat.setRoundingMode(in
[all...]
H A DTimeUnitTest.java38 nf.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DIntlTestDecimalFormatAPIC.java254 pat.setRoundingMode(mode);
H A DMeasureUnitTest.java605 nf.setRoundingMode(BigDecimal.ROUND_DOWN);
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java250 public void setRoundingMode(int roundingMode) { method in class:NumberFormatJDK
281 fJdkNfmt.setRoundingMode(mode);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DBigReal.java206 public void setRoundingMode(RoundingMode roundingMode) { method in class:BigReal
/external/icu/icu4c/source/i18n/
H A Ddigitlst.h286 void setRoundingMode(DecimalFormat::ERoundingMode m);
H A Ddigitlst.cpp243 // setRoundingMode()
253 DigitList::setRoundingMode(DecimalFormat::ERoundingMode m) { function in class:DigitList
H A Dmeasfmt.cpp383 decfmt->setRoundingMode(DecimalFormat::kRoundDown);
H A Ddecimfmt.cpp1652 adjustedNum.setRoundingMode(fRoundingMode);
3870 * @see #setRoundingMode
3887 * @see #setRoundingMode
3913 * @see #setRoundingMode
3927 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) {
5491 setRoundingMode((DecimalFormat::ERoundingMode)newValue);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpField.java258 public void setRoundingMode(final RoundingMode mode) { method in class:DfpField
/external/icu/icu4c/source/i18n/unicode/
H A Ddecimfmt.h1338 * @see #setRoundingMode
1351 * @see #setRoundingMode
1361 * @see #setRoundingMode
1374 virtual void setRoundingMode(ERoundingMode roundingMode);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNumberFormat.java1276 * @see #setRoundingMode(int)
1293 public void setRoundingMode(int roundingMode) { method in class:NumberFormat
1295 "setRoundingMode must be implemented by the subclass implementation.");
H A DMeasureFormat.java269 intFormat.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DDecimalFormat.java3314 * @see #setRoundingMode
3332 * @see #setRoundingMode
3352 * @see #setRoundingMode
3377 * @see #setRoundingMode
3401 * @see #setRoundingMode
3424 public void setRoundingMode(int roundingMode) { method in class:DecimalFormat
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DBigMatrixImpl.java546 public void setRoundingMode(int roundingMode) { method in class:BigMatrixImpl
/external/v8/src/
H A Di18n.cc325 number_format->setRoundingMode(icu::DecimalFormat::kRoundHalfUp);

Completed in 768 milliseconds

12