Locales and Currency

Locale and currency functions.

Locale and currency functions. 13 entries. This page is generated from the MatchBox source; see the function reference index for how to read the tables and what each gate means.

FunctionFormsGateNotes
clearLocaleclearLocale( ... )always
currencyFormatcurrencyFormat( ... ), number.currencyFormat( ... )alwaysFormats a number as currency; the result is $1,234.50 for 1234.5 in the default locale.
getLocalegetLocale( ... )alwaysReturns the current locale name.
getLocaleDisplayNamegetLocaleDisplayName( ... )always
getLocaleInfogetLocaleInfo( ... )always
isCurrencyisCurrency( ... )always
lsCurrencyFormatlsCurrencyFormat( ... )always
lsIsCurrencylsIsCurrency( ... )always
lsIsNumericlsIsNumeric( ... )always
lsNumberFormatlsNumberFormat( ... )always
lsParseCurrencylsParseCurrency( ... )always
parseCurrencyparseCurrency( ... )always
setLocalesetLocale( ... )always
Edit this page Download Markdown Last updated Oct 27, 2026, 1:45:34 PM Report an issue