Module:Addcommas/doc

From Old School Near-Reality Wiki
Jump to navigation Jump to search

This is the documentation page for Module:Addcommas

Information icon-grey.png
This is a documentation subpage for Module:Addcommas.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Addcommas is required by Module:Exchange.
Module:Addcommas is required by Module:Infobox Item.
Module:Addcommas is required by Module:Infobox Monster.

This module is a helper module to be used by other modules; it may not be designed to be invoked directly. See Near-Reality:Lua/Helper modules for a full list and more information.

ModuleFunctionTypeUse
Addcommas_add(arg)NumberFormats the number arg with commas
_strip(arg)NumberRemoves all commas from arg