Category | Rules |
---|---|
one | i = 1 |
other | Everything else |
{n, plural, one{# one} other{# other}}
Category | Rules |
---|---|
one | n % 10 = 1 and n % 100 != 11 |
two | n % 10 = 2 and n % 100 != 12 |
few | n % 10 = 3 and n % 100 != 13 |
other | Everything else |
{n, selectordinal, one{#-one} two{#-two} few{#-few} other{#-other}}
Schema | Example | Result |
---|---|---|
%spellout-numbering-year |
|
four hundred seventy-one |
%spellout-numbering (default) |
|
four hundred seventy-one |
%spellout-numbering-verbose |
|
four hundred and seventy-one |
%spellout-cardinal |
|
four hundred seventy-one |
%spellout-cardinal-verbose |
|
four hundred and seventy-one |
%spellout-ordinal |
|
four hundred seventy-first |
%spellout-ordinal-verbose |
|
four hundred and seventy-first |
Schema | Example | Result |
---|---|---|
%digits-ordinal (default) |
|
471st |
Schema | Example | Result |
---|---|---|
%with-words |
|
130 hours, 53 minutes, 47 seconds |
%in-numerals |
|
130:53:47 |
%duration (default) |
|
130:53:47 |