English (United States) en_US

Based on PHP intl data: ICU 75.1. Data 75.1.

NumberFormatter Symbols #

  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.
, , , ,

NumberFormatter Patterns #

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;
1: oh-=%spellout-numbering=;
10: =%spellout-numbering=;
%spellout-numbering-year: 0: =%spellout-numbering=;
1010/100: <%spellout-numbering-year< >%%2d-year>;
1100/100: <%spellout-numbering-year< >%%2d-year>;
2000: =%spellout-numbering=;
2010/100: <%spellout-numbering-year< >%%2d-year>;
2100/100: <%spellout-numbering-year< >%%2d-year>;
3000: =%spellout-numbering=;
3010/100: <%spellout-numbering-year< >%%2d-year>;
3100/100: <%spellout-numbering-year< >%%2d-year>;
4000: =%spellout-numbering=;
4010/100: <%spellout-numbering-year< >%%2d-year>;
4100/100: <%spellout-numbering-year< >%%2d-year>;
5000: =%spellout-numbering=;
5010/100: <%spellout-numbering-year< >%%2d-year>;
5100/100: <%spellout-numbering-year< >%%2d-year>;
6000: =%spellout-numbering=;
6010/100: <%spellout-numbering-year< >%%2d-year>;
6100/100: <%spellout-numbering-year< >%%2d-year>;
7000: =%spellout-numbering=;
7010/100: <%spellout-numbering-year< >%%2d-year>;
7100/100: <%spellout-numbering-year< >%%2d-year>;
8000: =%spellout-numbering=;
8010/100: <%spellout-numbering-year< >%%2d-year>;
8100/100: <%spellout-numbering-year< >%%2d-year>;
9000: =%spellout-numbering=;
9010/100: <%spellout-numbering-year< >%%2d-year>;
9100/100: <%spellout-numbering-year< >%%2d-year>;
10000: =%spellout-numbering=;
-x: minus >%spellout-numbering-year>;
x.x: =#,##0.#=;
%spellout-numbering: 0: =%spellout-cardinal=;
-x: minus >%spellout-numbering>;
Inf: infinity;
NaN: not a number;
%spellout-numbering-verbose: 0: =%spellout-cardinal-verbose=;
-x: minus >%spellout-numbering-verbose>;
Inf: infinity;
NaN: not a number;
%spellout-cardinal: 0: zero;
1: one;
2: two;
3: three;
4: four;
5: five;
6: six;
7: seven;
8: eight;
9: nine;
10: ten;
11: eleven;
12: twelve;
13: thirteen;
14: fourteen;
15: fifteen;
16: sixteen;
17: seventeen;
18: eighteen;
19: nineteen;
20: twenty;
21: twenty->%spellout-cardinal>;
30: thirty;
31: thirty->%spellout-cardinal>;
40: forty;
41: forty->%spellout-cardinal>;
50: fifty;
51: fifty->%spellout-cardinal>;
60: sixty;
61: sixty->%spellout-cardinal>;
70: seventy;
71: seventy->%spellout-cardinal>;
80: eighty;
81: eighty->%spellout-cardinal>;
90: ninety;
91: ninety->%spellout-cardinal>;
100: <%spellout-cardinal< hundred;
101: <%spellout-cardinal< hundred >%spellout-cardinal>;
1000: <%spellout-cardinal< thousand;
1001: <%spellout-cardinal< thousand >%spellout-cardinal>;
1000000: <%spellout-cardinal< million;
1000001: <%spellout-cardinal< million >%spellout-cardinal>;
1000000000: <%spellout-cardinal< billion;
1000000001: <%spellout-cardinal< billion >%spellout-cardinal>;
1000000000000: <%spellout-cardinal< trillion;
1000000000001: <%spellout-cardinal< trillion >%spellout-cardinal>;
1000000000000000: <%spellout-cardinal< quadrillion;
1000000000000001: <%spellout-cardinal< quadrillion >%spellout-cardinal>;
1000000000000000000: =#,##0=;
-x: minus >%spellout-cardinal>;
x.x: <%spellout-cardinal< point >%spellout-cardinal>;
Inf: infinite;
NaN: not a number;
%%and: 1: ' and =%spellout-cardinal-verbose=;
100: ' =%spellout-cardinal-verbose=;
%%commas: 1: ' and =%spellout-cardinal-verbose=;
100: , =%spellout-cardinal-verbose=;
1000: , <%spellout-cardinal-verbose< thousand;
1001: , <%spellout-cardinal-verbose< thousand>%%commas>;
1000000: , =%spellout-cardinal-verbose=;
%spellout-cardinal-verbose: 0: =%spellout-numbering=;
100: <%spellout-cardinal-verbose< hundred;
101: <%spellout-cardinal-verbose< hundred>%%and>;
1000: <%spellout-cardinal-verbose< thousand;
1001: <%spellout-cardinal-verbose< thousand>%%and>;
100000/1000: <%spellout-cardinal-verbose< thousand;
100001/1000: <%spellout-cardinal-verbose< thousand>%%commas>;
1000000: <%spellout-cardinal-verbose< million;
1000001: <%spellout-cardinal-verbose< million>%%commas>;
1000000000: <%spellout-cardinal-verbose< billion;
1000000001: <%spellout-cardinal-verbose< billion>%%commas>;
1000000000000: <%spellout-cardinal-verbose< trillion;
1000000000001: <%spellout-cardinal-verbose< trillion>%%commas>;
1000000000000000: <%spellout-cardinal-verbose< quadrillion;
1000000000000001: <%spellout-cardinal-verbose< quadrillion>%%commas>;
1000000000000000000: =#,##0=;
-x: minus >%spellout-cardinal-verbose>;
x.x: <%spellout-cardinal-verbose< point >%spellout-cardinal-verbose>;
Inf: infinite;
NaN: not a number;
%%tieth: 0: tieth;
1: ty-=%spellout-ordinal=;
%%th: 0: th;
1: ' =%spellout-ordinal=;
%spellout-ordinal: 0: zeroth;
1: first;
2: second;
3: third;
4: fourth;
5: fifth;
6: sixth;
7: seventh;
8: eighth;
9: ninth;
10: tenth;
11: eleventh;
12: twelfth;
13: =%spellout-numbering=th;
20: twen>%%tieth>;
30: thir>%%tieth>;
40: for>%%tieth>;
50: fif>%%tieth>;
60: six>%%tieth>;
70: seven>%%tieth>;
80: eigh>%%tieth>;
90: nine>%%tieth>;
100: <%spellout-numbering< hundred>%%th>;
1000: <%spellout-numbering< thousand>%%th>;
1000000: <%spellout-numbering< million>%%th>;
1000000000: <%spellout-numbering< billion>%%th>;
1000000000000: <%spellout-numbering< trillion>%%th>;
1000000000000000: <%spellout-numbering< quadrillion>%%th>;
1000000000000000000: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$;
-x: minus >%spellout-ordinal>;
x.x: =#,##0.#=;
Inf: infinitieth;
%%and-o: 0: th;
1: ' and =%spellout-ordinal-verbose=;
100: ' =%spellout-ordinal-verbose=;
%%commas-o: 0: th;
1: ' and =%spellout-ordinal-verbose=;
100: , =%spellout-ordinal-verbose=;
1000: , <%spellout-cardinal-verbose< thousand>%%commas-o>;
1000000: , =%spellout-ordinal-verbose=;
%spellout-ordinal-verbose: 0: =%spellout-ordinal=;
100: <%spellout-numbering-verbose< hundred>%%and-o>;
1000: <%spellout-numbering-verbose< thousand>%%and-o>;
100000/1000: <%spellout-numbering-verbose< thousand>%%commas-o>;
1000000: <%spellout-numbering-verbose< million>%%commas-o>;
1000000000: <%spellout-numbering-verbose< billion>%%commas-o>;
1000000000000: <%spellout-numbering-verbose< trillion>%%commas-o>;
1000000000000000: <%spellout-numbering-verbose< quadrillion>%%commas-o>;
1000000000000000000: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$;
-x: minus >%spellout-ordinal-verbose>;
x.x: =#,##0.#=;
Inf: infinitieth;
ORDINAL
Ordinal rule-based format.
%digits-ordinal: 0: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$;
-x: −>%digits-ordinal>;
DURATION
Duration rule-based format.
%with-words: 0: 0 seconds;
1: 1 second;
2: =0= seconds;
60/60: <%%min<;
61/60: <%%min<, >%with-words>;
3600/60: <%%hr<;
3601/60: <%%hr<, >>>;
%%min: 0: 0 minutes;
1: 1 minute;
2: =0= minutes;
%%hr: 0: 0 hours;
1: 1 hour;
2: =0= hours;
%in-numerals: 0: =0= sec.;
60: =%%min-sec=;
3600: =%%hr-min-sec=;
%%min-sec: 0: :=00=;
60/60: <0<>%%min-sec>;
%%hr-min-sec: 0: :=00=;
60/60: <00<>%%hr-min-sec>;
3600/60: <#,##0<:>>>;
%duration: 0: =%in-numerals=;