DEFAULT_STYLE Default format for the locale. |
CURRENCY Currency format. |
PERCENT Percent format. |
SCIENTIFIC Scientific format. |
SPELLOUT Spellout rule-based format. |
ORDINAL Ordinal rule-based format. |
DURATION Duration rule-based format. |
|
---|---|---|---|---|---|---|---|
DECIMAL_SEPARATOR_SYMBOL The decimal separator. |
. |
. |
. |
. |
|
|
|
GROUPING_SEPARATOR_SYMBOL The grouping separator. |
, |
, |
, |
, |
|
|
|
PATTERN_SEPARATOR_SYMBOL The pattern separator. |
; |
; |
; |
; |
|
|
|
PERCENT_SYMBOL The percent sign. |
% |
% |
% |
% |
|
|
|
ZERO_DIGIT_SYMBOL Zero. |
0 |
0 |
0 |
0 |
|
|
|
DIGIT_SYMBOL Character representing a digit in the pattern. |
# |
# |
# |
# |
|
|
|
MINUS_SIGN_SYMBOL The minus sign. |
- |
- |
- |
- |
|
|
|
PLUS_SIGN_SYMBOL The plus sign. |
+ |
+ |
+ |
+ |
|
|
|
CURRENCY_SYMBOL The currency symbol. |
$ |
$ |
$ |
$ |
|
|
|
INTL_CURRENCY_SYMBOL The international currency symbol. |
USD |
USD |
USD |
USD |
|
|
|
MONETARY_SEPARATOR_SYMBOL The monetary separator. |
. |
. |
. |
. |
|
|
|
EXPONENTIAL_SYMBOL The exponential symbol. |
E |
E |
E |
E |
|
|
|
PERMILL_SYMBOL Per mill symbol. |
‰ |
‰ |
‰ |
‰ |
|
|
|
PAD_ESCAPE_SYMBOL Escape padding character. |
* |
* |
* |
* |
|
|
|
INFINITY_SYMBOL Infinity symbol. |
∞ |
∞ |
∞ |
∞ |
|
|
|
NAN_SYMBOL Not-a-number symbol. |
NaN |
NaN |
NaN |
NaN |
|
|
|
SIGNIFICANT_DIGIT_SYMBOL Significant digit symbol. |
@ |
@ |
@ |
@ |
|
|
|
MONETARY_GROUPING_SEPARATOR_SYMBOL The monetary grouping separator. |
, |
, |
, |
, |
|
|
|
Formatter Type | Pattern |
---|---|
DEFAULT_STYLE Default format for the locale. |
#,##0.### |
CURRENCY Currency format. |
¤#,##0.00 |
PERCENT Percent format. |
#,##0% |
SCIENTIFIC Scientific format. |
#E0 |
SPELLOUT Spellout rule-based format. |
%%2d-year:
0: hundred; |
ORDINAL Ordinal rule-based format. |
%digits-ordinal:
0: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$; |
DURATION Duration rule-based format. |
%with-words:
0: 0 seconds; |