View source for Module:Math
MyWikiBiz, Author Your Legacy — Thursday April 17, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
--[[
This module provides a number of basic mathematical operations.
]]
local yesno, getArgs -- lazily initialized
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.
--[[
Helper functions used to avoid redundant code.
]]
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
local function unpackNumberArgs(args)
000
1:0
Templates used on this page:
- Template:For (view source)
- Template:High-risk (view source)
- Template:Math templates (view source)
- Template:Module rating (view source)
- Template:Para (view source)
- Template:See also (view source)
- Template:Tl (view source)
- Template:Tlc (view source)
- Module:Arguments (view source)
- Module:Math (view source)
- Module:Math/doc (view source)
Return to Module:Math.