HomeSort by relevance Sort by last modified time
    Searched full:maximumdigits (Results 1 - 5 of 5) sorted by null

  /libcore/ojluni/src/main/java/java/text/
DigitList.java 283 * @param maximumDigits The most fractional or total digits which should
285 * @param fixedPoint If true, then maximumDigits is the maximum
288 final void set(boolean isNegative, double source, int maximumDigits, boolean fixedPoint) {
289 set(isNegative, Double.toString(source), maximumDigits, fixedPoint);
296 final void set(boolean isNegative, String s, int maximumDigits, boolean fixedPoint) {
341 if (-decimalAt > maximumDigits) {
346 } else if (-decimalAt == maximumDigits) {
368 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits);
373 * @param maximumDigits The maximum number of digits to be shown
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DigitList.java 403 * @param maximumDigits The most fractional or total digits which should
405 * @param fixedPoint If true, then maximumDigits is the maximum
408 final void set(double source, int maximumDigits, boolean fixedPoint)
425 if (-decimalAt > maximumDigits) {
428 } else if (-decimalAt == maximumDigits) {
447 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits);
505 * @param maximumDigits the number of digits to keep, from 0 to
509 * @return true if digit <code>maximumDigits-1</code> should b
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DigitList.java 402 * @param maximumDigits The most fractional or total digits which should
404 * @param fixedPoint If true, then maximumDigits is the maximum
407 final void set(double source, int maximumDigits, boolean fixedPoint)
424 if (-decimalAt > maximumDigits) {
427 } else if (-decimalAt == maximumDigits) {
446 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits);
504 * @param maximumDigits the number of digits to keep, from 0 to
508 * @return true if digit <code>maximumDigits-1</code> should b
    [all...]
  /external/icu/icu4c/source/i18n/
digitlst.h 241 * If a non-zero maximumDigits is specified, no more than that number of
249 * If a non-zero maximumDigits is specified, no more than that number of
258 * If a non-zero maximumDigits is specified, no more than that number of
315 * @param maximumDigits The maximum number of digits to be shown.
316 * Upon return, count will be less than or equal to maximumDigits.
319 void round(int32_t maximumDigits);
486 UBool shouldRoundUp(int32_t maximumDigits) const;
digitlst.cpp 924 * @param maximumDigits The maximum number of digits to be shown.
925 * Upon return, count will be less than or equal to maximumDigits.
928 DigitList::round(int32_t maximumDigits)
931 if (maximumDigits >= fDecNumber->digits) {
935 fContext.digits = maximumDigits;
    [all...]

Completed in 177 milliseconds