Module:Currency: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2:
 
function p.main(frame)
mw.logObject(local args = frame:getParent().args)
local a = frame.args[1] or frame.args.Amount or frame.args.amount or '0'
mw.logObject(frame.args[1])
local a = frame.args[1] or frame.args.Amount or frame.args.amount or '0'
val = tonumber(a)
if val == nil then