Module:Currency: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 8: Line 8:


function p.parse(a)
function p.parse(a)
a = a.gsub(",", "").gsub(".", "")
string.gsub(a, ",", "").gsub(a, ".", "")
val = tonumber(a)
val = tonumber(a)
if val == nil then
if val == nil then