Modul:High-use: Unterschied zwischen den Versionen
K
-typos
K (-typos) |
|||
Zeile 24: | Zeile 24: | ||
local f = math.floor(math.log10(count)) - sigfig + 1 | local f = math.floor(math.log10(count)) - sigfig + 1 | ||
-- Round and insert " | -- 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 |