Module:High-use: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(Undid revision 975033012 by Hildeoc (talk) Reverted what appears to have been a test edit. The leading space is necessary for proper sentence composing.)
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