Module:Spellnum per MOS/doc

MyWikiBiz, Author Your Legacy — Monday December 04, 2023
Jump to navigationJump to search

This is the documentation page for Module:Spellnum per MOS

{{Module rating }}


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>