Шаблон:Ordinal to word/0 to 99/doc
Зоҳир
Converts a natural number in the range 0 to 99 into a word representing its ordinal number in the English language.
Usage
[вироиши манбаъ]{{Ordinal to word/0 to 99|natural[|zero=zero]}}
natural: Required. A natural number in the range 0 to 19.
zeroth: Optional. The value to use when the number is 0. Default is "zeroth". Can be made empty or, for example, "one before the first" or "seed", as appropriate for the context.
Examples
[вироиши манбаъ]{{Ordinal to word/0 to 99|0|zeroth=not a sausage}} {{Ordinal to word/0 to 99|30}} {{Ordinal to word/0 to 99|55}} {{Ordinal to word/0 to 99|99}} {{Ordinal to word/0 to 99|-1}}
produces:
zeroth
thirtieth
fifty-fifth
ninety-ninth
{{Ordinal to word/0 to 99}}
: value "-1" is not a natural number in the range 0 to 99
See also
[вироиши манбаъ]- Template:Number to word
- Template:Cardinal to word
- Template:Ordinal to word
- Template:Cardinal to word/0 to 19
- Template:Cardinal to word/0 to 99
- Template:Cardinal to word/0 to 999
- Template:Cardinal to word/0 to 999999
- Template:Ordinal to word/0 to 19
- Template:Ordinal to word/0 to 999
- Template:Ordinal to word/0 to 999999