Lines Matching refs:digits

61  * locale, including support for Western, Arabic, and Indic digits.  It also
134 * serves only to specify the negative prefix and suffix; the number of digits,
135 * minimal digits, and other characteristics are all the same as the positive
139 * <p>The prefixes, suffixes, and various symbols used for infinity, digits,
152 * of digits between the grouping characters, such as 3 for 100,000,000 or 4 for
263 * <li>The minimum and maximum number of integer digits are interpreted
267 * <li>If the maximum number of integer digits is greater than their minimum number
269 * number of integer digits, and the minimum number of integer digits to be
276 * <li>Otherwise, the minimum number of integer digits is achieved by adjusting the
281 * <li>The number of significant digits in the mantissa is the sum of the
282 * <em>minimum integer</em> and <em>maximum fraction</em> digits, and is
283 * unaffected by the maximum integer digits. For example, 12345 formatted with
284 * <code>"##0.##E0"</code> is <code>"12.3E3"</code>. To show all digits, set
285 * the significant digits count to zero. The number of significant digits
301 * <code>DecimalFormatSymbols</code> object as digits. For parsing, these
302 * digits as well as all Unicode decimal digits, as defined by
862 * be filled in with the correct digits.
873 // // is more than the maximum fraction digits, then we have an underflow
912 // Minimum integer digits are handled in exponential format by
914 // integer digits is "123.4E-4".
916 // Maximum integer digits are interpreted as indicating the
919 // example, 0.01234 with 3 maximum integer digits is "12.34e-3".
920 // If maximum integer digits are > 1 and are larger than
921 // minimum integer digits, then minimum integer digits are
940 // No repeating range is defined; use minimum integer digits.
944 // We now output a minimum number of digits, and more if there
945 // are more digits, up to the maximum number of digits. We
946 // place the decimal point after the "integer" digits, which
947 // are the first (decimalAt - exponent) digits.
953 // The number of integer digits is handled specially if the number
954 // is zero, since then there may be no digits.
978 (char)(digitList.digits[i] + zeroDelta) :
1011 // exponent digits. There is no maximum limit to the exponent
1012 // digits, since truncating the exponent would result in an
1045 (char)(digitList.digits[i] + zeroDelta) : zero);
1053 // number of integer digits we will display, including both
1055 // and actual digits present in the number.
1063 // than the real number of integer digits. If this is so, we
1064 // output the least significant max integer digits. For example,
1065 // the value 1997 printed with 2 max integer digits is just "97".
1075 result.append((char)(digitList.digits[digitIndex++] + zeroDelta));
1095 // digits. If we've used up the digits we know there aren't.
1100 // integer digits, then print a zero. Otherwise we won't print
1101 // _any_ digits, and we won't be able to parse this string.
1124 // output the maximum fraction digits (specified in the for
1126 // We also stop when we've output the minimum digits and either:
1128 // display, or we're out of significant digits.
1135 // after the decimal but before any significant digits. These
1143 // zero if we don't. We don't want to output noise digits.
1145 result.append((char)(digitList.digits[digitIndex++] + zeroDelta));
1248 * decimal digits, as defined by <code>Character.digit()</code>. In
1249 * addition, <code>DecimalFormat</code> also recognizes as digits the ten
1313 // Finally, have DigitList parse the digits into a value.
1398 * @param digits The DigitList to set to the parsed value.
1406 DigitList digits, boolean isExponent,
1436 // process digits or Inf, find decimal position
1443 // We now have a string of digits, possibly with grouping symbols,
1447 // put only significant digits into the DigitList, and adjust the
1450 digits.decimalAt = digits.count = 0;
1462 // We have to track digitCount ourselves, because digits.count will
1463 // pin when the maximum allowable digits is reached.
1492 if (digits.count == 0) {
1499 // digits yet, then we account for leading zeros by
1500 // decrementing the digits.decimalAt into negative
1502 --digits.decimalAt;
1505 digits.append((char)(digit + '0'));
1510 digits.append((char)(digit + '0'));
1520 digits.decimalAt = digitCount; // Not digits.count!
1559 digits.decimalAt = digitCount; // Not digits.count!
1563 digits.decimalAt += exponent;
1827 * Return the grouping size. Grouping size is the number of digits between
1839 * Set the grouping size. Grouping size is the number of digits between
2288 * There is no limit to integer digits set
2293 * <P>This means a minimum of 2 integer digits, 1 fraction digit, and
2294 * a maximum of 2 fraction digits.
2314 * There is no limit to integer digits set
2319 * <P>This means a minimum of 2 integer digits, 1 fraction digit, and
2320 * a maximum of 2 fraction digits.
2380 // the section of the pattern with digits, decimal separator,
2507 // Process the digits, decimal, and grouping characters. We
2508 // record five pieces of information. We expect the digits
2510 // number of left digits, zero (central) digits, and right
2511 // digits. The position of the last grouping character is
2514 // if any (should be in the zero digits). If there is no
2515 // decimal point, then there should be no right digits.
2589 * Having a zeroDigitCount of zero yields a minimum integer digits
2605 // Do syntax checking on the digits.
2668 * Sets the maximum number of digits allowed in the integer portion of a
2687 * Sets the minimum number of digits allowed in the integer portion of a
2706 * Sets the maximum number of digits allowed in the fraction portion of a
2725 * Sets the minimum number of digits allowed in the fraction portion of a
2744 * Gets the maximum number of digits allowed in the integer portion of a
2756 * Gets the minimum number of digits allowed in the integer portion of a
2768 * Gets the maximum number of digits allowed in the fraction portion of a
2780 * Gets the minimum number of digits allowed in the fraction portion of a
2808 * number of fraction digits used by the number format.
2855 * Adjusts the minimum and maximum fraction digits to values that
2856 * are reasonable for the currency's default fraction digits.
2867 int digits = currency.getDefaultFractionDigits();
2868 if (digits != -1) {
2873 setMinimumFractionDigits(digits);
2874 setMaximumFractionDigits(digits);
2876 setMinimumFractionDigits(Math.min(digits, oldMinDigits));
2877 setMaximumFractionDigits(digits);
2906 * the setters for the minimum and maximum integer and fraction digits with
3054 * The number of digits between grouping separators in the integer
3138 * The minimum number of digits used to display the exponent when a number is
3148 * The maximum number of digits allowed in the integer portion of a
3160 * The minimum number of digits allowed in the integer portion of a
3172 * The maximum number of digits allowed in the fractional portion of a
3184 * The minimum number of digits allowed in the fractional portion of a
3262 // Upper limit on integer and fraction digits for a Java double
3266 // Upper limit on integer and fraction digits for BigDecimal and BigInteger