US_NUMERIC_CONFIG instance provides US specific locale configuration. Databases which have been built for
other locales can utilize custom implementations of NumericConfig in order to evaluate expressions correctly.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final String | |
| private final boolean | |
| private final int | |
| private final NumberFormatter | |
| private final int | |
| private final String | |
| private final String | |
| private final String | |
| private final DecimalFormatSymbols | |
| private final boolean | |
| private final boolean | |
| public static final NumericConfig |
| Access | Constructor and Description |
|---|---|
| public | NumericConfig(int numDecDigits, boolean incLeadingDigit, boolean useNegParens, boolean useNegCurrencyParens, int numGroupDigits, Locale locale)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the given float formatted according to the current locale configReturns the given float formatted according to the current locale config. |
| public String | Returns: the given double formatted according to the current locale configReturns the given double formatted according to the current locale config. |
| public String | Returns: the given BigDecimal formatted according to the current locale configReturns the given BigDecimal formatted according to the current locale config. |
| public DecimalFormatSymbols | |
| public String | |
| public int | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean |
| mcurrencyFormat | back to summary |
|---|---|
| private final String mcurrencyFormat | |
| meuroFormat | back to summary |
|---|---|
| private final String meuroFormat | |
| mfixedFormat | back to summary |
|---|---|
| private final String mfixedFormat | |
| mincLeadingDigit | back to summary |
|---|---|
| private final boolean mincLeadingDigit | |
| mnumDecDigits | back to summary |
|---|---|
| private final int mnumDecDigits | |
| mnumFmt | back to summary |
|---|---|
| private final NumberFormatter mnumFmt | |
| mnumGroupDigits | back to summary |
|---|---|
| private final int mnumGroupDigits | |
| mpercentFormat | back to summary |
|---|---|
| private final String mpercentFormat | |
| mscientificFormat | back to summary |
|---|---|
| private final String mscientificFormat | |
| mstandardFormat | back to summary |
|---|---|
| private final String mstandardFormat | |
| msymbols | back to summary |
|---|---|
| private final DecimalFormatSymbols msymbols | |
| museNegCurrencyParens | back to summary |
|---|---|
| private final boolean museNegCurrencyParens | |
| museNegParens | back to summary |
|---|---|
| private final boolean museNegParens | |
| US_NUMERIC_CONFIG | back to summary |
|---|---|
| public static final NumericConfig US_NUMERIC_CONFIG | |
| NumericConfig | back to summary |
|---|---|
| public NumericConfig(int numDecDigits, boolean incLeadingDigit, boolean useNegParens, boolean useNegCurrencyParens, int numGroupDigits, Locale locale) | |
| format | back to summary |
|---|---|
| public String format(float f) Returns the given float formatted according to the current locale config.
| |
| format | back to summary |
|---|---|
| public String format(double d) Returns the given double formatted according to the current locale config.
| |
| format | back to summary |
|---|---|
| public String format(BigDecimal bd) Returns the given BigDecimal formatted according to the current locale config.
| |
| getDecimalFormatSymbols | back to summary |
|---|---|
| public DecimalFormatSymbols getDecimalFormatSymbols() | |
| getNumberFormat | back to summary |
|---|---|
| public String getNumberFormat(NumericConfig. | |
| getNumDecimalDigits | back to summary |
|---|---|
| public int getNumDecimalDigits() | |
| getNumGroupingDigits | back to summary |
|---|---|
| public int getNumGroupingDigits() | |
| includeLeadingDigit | back to summary |
|---|---|
| public boolean includeLeadingDigit() | |
| useParensForCurrencyNegatives | back to summary |
|---|---|
| public boolean useParensForCurrencyNegatives() | |
| useParensForNegatives | back to summary |
|---|---|
| public boolean useParensForNegatives() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final NumericConfig. | |
| public static final NumericConfig. | |
| public static final NumericConfig. | |
| public static final NumericConfig. | |
| public static final NumericConfig. | |
| public static final NumericConfig. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NumericConfig. | |
| public static NumericConfig. |
| CURRENCY | back to summary |
|---|---|
| public static final NumericConfig. | |
| EURO | back to summary |
|---|---|
| public static final NumericConfig. | |
| FIXED | back to summary |
|---|---|
| public static final NumericConfig. | |
| PERCENT | back to summary |
|---|---|
| public static final NumericConfig. | |
| SCIENTIFIC | back to summary |
|---|---|
| public static final NumericConfig. | |
| STANDARD | back to summary |
|---|---|
| public static final NumericConfig. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static NumericConfig. | |
| values | back to summary |
|---|---|
| public static NumericConfig. | |