Lines Matching refs:decimal

59  * <code>NumberFormat</code> that formats decimal numbers. It has a variety of
140 * thousands separators, decimal separators, etc. may be set to arbitrary
147 * specified.) Another example is that the decimal separator and thousands
194 * <td>Decimal separator or monetary decimal separator
232 * If present in a pattern, the monetary decimal separator
233 * is used instead of the decimal separator.
302 * digits as well as all Unicode decimal digits, as defined by
871 // // zeros between the decimal and the first non-zero digit, for
885 char decimal = isCurrencyFormat ?
946 // place the decimal point after the "integer" digits, which
971 result.append(decimal);
986 result.append(decimal);
1109 // Output the decimal separator if we always do so.
1112 result.append(decimal);
1135 // after the decimal but before any significant digits. These
1230 * presence of a decimal separator in the source string. Doing so
1248 * decimal digits, as defined by <code>Character.digit()</code>. In
1298 catch (ArithmeticException e) { // non-terminating decimal expansion
1436 // process digits or Inf, find decimal position
1444 // and decimal points. We want to process these into a DigitList.
1446 // though, so we keep track of the location of the decimal point,
1452 char decimal = isCurrencyFormat ?
1498 // If we have seen the decimal, but no significant
1514 } else if (!isExponent && ch == decimal) {
1516 // decimal, then don't parse this one.
1557 // If there was no decimal point we have an integer
1617 * Returns a copy of the decimal format symbols, which is generally not
1633 * Sets the decimal format symbols, which is generally not changed
1853 * Allows you to get the behavior of the decimal separator with integers.
1854 * (The decimal separator will always appear with decimals.)
1862 * Allows you to set the behavior of the decimal separator with integers.
1863 * (The decimal separator will always appear with decimals.)
2380 // the section of the pattern with digits, decimal separator,
2507 // Process the digits, decimal, and grouping characters. We
2513 // of characters), as is the position of the decimal point,
2515 // decimal point, then there should be no right digits.
2538 throw new IllegalArgumentException("Multiple decimal separators in pattern \"" +
2620 /* The effectiveDecimalPos is the position the decimal is at or
2621 * would be at if there is no decimal. Note that if decimalPos<0,
2792 * Gets the currency used by this decimal format when formatting
2798 * @return the currency used by this decimal format, or <code>null</code>
2813 * @param currency the new currency to be used by this decimal format
3065 * If true, forces the decimal separator to always appear in a formatted
3085 * whether the monetary decimal separator is used instead of the normal one.
3092 * decimal separator, and so on.
3251 * CURRENCY_SIGN is seen in a pattern, then the decimal separator is
3252 * replaced with the monetary decimal separator.