ਮੌਡਿਊਲ:NumberSpell/doc
ਦਿੱਖ
This is the documentation page for ਮੌਡਿਊਲ:NumberSpell
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from 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
[ਸੋਧੋ]{{#invoke:NumberSpell|main|number}}
Examples
[ਸੋਧੋ]{{#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