Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 11:
local w = tonumber(frame.args[1]) or 0
local l = tonumber(frame.args[2]) or 0
local pct = '–'
if (w + l) > 0 then
returnpct = tostring(rnd(w / (w + l), 2)):gsub('^0', '')
end
return '–'pct
end