మూస:Ordinal to word/0 to 99/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

Converts a natural number in the range 0 to 99 into a word representing its ordinal number in the English language.

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

{{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