Module:High-use: Difference between revisions

m
-typos
m (1 revision imported)
m (-typos)
Line 24: Line 24:
local f = math.floor(math.log10(count)) - sigfig + 1
local f = math.floor(math.log10(count)) - sigfig + 1
-- Round and insert "apprxomimately" or "+" when appropriate
-- Round and insert "approximately" or "+" when appropriate
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
-- Round down
-- Round down
Anonymous user