Module:Spellnum per MOS/doc
MyWikiBiz, Author Your Legacy — Saturday December 21, 2024
Jump to navigationJump to searchThis 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>