Module:User:Plagiat/sandbox explained

local p =

function p.percent(frame) -- percentage (eventually) -- Percentage = share/total * 100 local num1 = tonumber(frame.args[1]) local num2 = tonumber(frame.args[2]) return num1 / num2 * 100 .. '%'end

return p