Module:Spellnum per MOS/doc

MyWikiBiz, Author Your Legacy — Monday October 03, 2022
Jump to navigationJump to search

This is the documentation page for Module:Spellnum per MOS

{{Module rating }}

Usage

Implements Template:Spellnum per MOS.

{{#invoke:Spellnum per MOS|main|number to format|if second arg equals 1, prefer numerals}}

For use by other Lua modules:

<syntaxhighlight lang="lua"> local spellnum = require('Module:Spellnum per MOS').spellnum spellnum{ 11 } -- returns 'eleven' </syntaxhighlight>