Module:Decimals/doc

From Wiki.Agency
Jump to: navigation, search

This is the documentation page for Module:Decimals

Usage

From other Lua modules

<syntaxhighlight lang="lua"> local roundAndPad = require('Module:Decimals')._main result = roundAndPad(n, decimals) </syntaxhighlight>

From wikitext

{{#invoke:Decimals|main|n|decimals[|error=string to display instead of error message]}}

For more information, see Template:Decimals.