Jump to content

Module:Spellnum per MOS/doc

From Wikipedia, the free encyclopedia

{{Module rating }}

Usage

[edit]

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'