Toggle menu
15
236
70
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:NumberSpell/doc: Difference between revisions

From Kenshi Wiki
No edit summary
No edit summary
Line 16: Line 16:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
[[Category:Module documents]]
[[Category:Module documentation pages]]
[[Category:Module documentation pages]]
</noinclude>
</noinclude>

Revision as of 22:28, 9 March 2025

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