Module:PriceParser

From Roat Pkz
Jump to navigation Jump to search

Documentation for this module may be created at Module:PriceParser/doc

-- Module:PriceParser

local p = {}

function p.removeComma(price)
    -- Remove any commas from the price string
    return string.gsub(price, ",", "")
end

return p