~/forever/addon-api/function/FormatCurrency
FormatCurrency
documented function · LuaLocaleContextAPI
FormatCurrency(number, currencyCode) : resultFormats a double as a localized currency value using the provided ISO 4217 currency code.
──ARGUMENTS
- number
- number (The double value formatted by the locale currency formatter.)
- currencyCode
- cstring (The 3-letter null-terminated ISO 4217 currency code for currency formatting.)
──RETURNS
- result
- string (The localized currency text produced by the formatter.)
──DETAILS
- May Return Nothing
- true
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.