Module:Currency: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local p = {} |
local p = {} |
||
function p.currency(frame) |
|||
local args = getArgs(frame) |
|||
a = string.gsub(a or '',',','') |
|||
local a = args[1] or args.Amount or args.amount or '0' |
|||
val = tonumber(a) |
val = tonumber(a) |
||
if val == nil then |
if val == nil then |