Module:PriceParser: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
(Created page with "-- Module:PriceParser local p = {} function p.removeComma(price) -- Remove any commas from the price string return string.gsub(price, ",", "") end return p")
 
(No difference)

Latest revision as of 06:34, 2 May 2024

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