Module:Spellnum per MOS/doc

From MOASSpedia
Jump to navigation Jump 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:

local spellnum = require('Module:Spellnum per MOS').spellnum
spellnum{ 11 } -- returns 'eleven'