Formats the decimal based on the locale provided and currency symbol from the locale or provided. Provides a list of the Locales available. Converts a Locale Decimal String (a decimal that was written in in a certain locale) into a valid Decimal.
Provides the action GetCurrencyFormattedByLocale that formats a decimal based on the locale provided.
It also provides a list of all the Locales available for usage with GetLocales.
Provides the action GetDecimalFromLocaleDecimalString converts a Locale Decimal String (a decimal that was written in in a certain locale) into a valid Decimal.
It takes advantage of C#'s System.Globalization namespace and the CultureInfo and NumberFormatInfo classes.
O11 version: https://www.outsystems.com/forge/component-overview/10096/format-currency
Upgraded: ODC target framework from net8.0 to net10.0.Fixed: Added CurrencyNegativePattern 16 ($- n) to the negative-pattern lookup table. Locales that use this pattern on .NET ICU runtimes (e.g. luy-KE) previously caused an IndexOutOfRangeException. Added bounds-check safety guards on NegativePatterns and PositivePatterns array indexing for forward compatibility with future .NET pattern values.
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)