>wowhelm_
~/forever/addon-api/function/ParseCurrency

ParseCurrency

documented function · LuaLocaleContextAPI
ParseCurrency(text) : result

Parses an entire localized currency string into a double amount and ISO 4217 currency code.

──ARGUMENTS
text
cstring (The localized currency text to parse for both amount and ISO 4217 code.)
──RETURNS
result
CurrencyParseResult (The numeric amount and ISO 4217 currency code parsed from the localized currency text.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.