Module:NumberSpell/doc
Appearance
| This is a documentation subpage for Module:NumberSpell. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
This module takes a number and returns the equivalent English word. For example, "2" becomes "two" and "79" becomes "seventy-nine". Numbers must be integers between 0 and 100.
Usage
[edit]{{#invoke:NumberSpell|main|number}}
Examples
[edit]{{#invoke:NumberSpell|main|8}}→ eight{{#invoke:NumberSpell|main|56}}→ fifty-six{{#invoke:NumberSpell|main|101}}→ Error: input must be an integer between 0 and 100