FormatCurrency

FormatCurrency (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 26 May 2023 by NTT DATA PORTUGAL, S.A
FormatCurrency

FormatCurrency (ODC)

Details
Detailed Description

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