(Created page with "local p = {} function p.add(frame) return tostring(tonumber(frame.args[1]) + tonumber(frame.args[2])) end return p") |
No edit summary |
||
Line 2: | Line 2: | ||
function p.add(frame) | function p.add(frame) | ||
return | return ("%02d"):format(tonumber(frame.args[1]) + tonumber(frame.args[2])) | ||
end | end | ||
return p | return p |
Revision as of 20:46, 10 July 2024
Documentation for this module may be created at Module:TestModule/doc
local p = {} function p.add(frame) return ("%02d"):format(tonumber(frame.args[1]) + tonumber(frame.args[2])) end return p