Module:Currency: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
local a = args[1] or args.Amount or args.amount or '0' |
local a = args[1] or args.Amount or args.amount or '0' |
||
val = tonumber(a) |
val = tonumber(a) |
||
return p.parse(val) |
|||
end |
|||
function p.parse(a) |
|||
if val == nil then |
if val == nil then |
||
return nil |
return nil |