format-currency
Service icon

Format Currency

Stable version 1.1.0 (Compatible with OutSystems 11)
Uploaded
 on 26 Aug (yesterday)
 by 
5.0
 (1 rating)
format-currency

Format Currency

Compatible with:
Created on OutSystems 11

Version 1.1.0

Stable
Current
See documentation
Uploaded on 26 Aug (9 hours ago) by 
Compatible with:
Version 11
Database:
All
Release notes:

Fixed

- Added `CurrencyNegativePattern` 16 (`$- n`) to the negative-pattern lookup table, fixing locales that use this pattern on .NET ICU runtimes (e.g. `luy-KE`).

- Added bounds-check safety guards on `NegativePatterns` and `PositivePatterns` array indexing for forward compatibility with future .NET pattern values.

- O11: `IsValidDecimal` now correctly set to `false` on error paths (XIF original left it as `true` even on parsing failure).

- O11: Null-safety added for the `currency` parameter in `GetCurrencyFormattedByLocale` and `GetDecimalFromLocaleDecimalString`.

- O11: Chinese decimal path now uses `CultureInfo.InvariantCulture` for consistent `ToString()` output.

- XIF source synced with all fixes above; target framework updated from v4.6.1 to v4.8.



Application Objects:
Format Currency has 0 AOs.

Version 1.0.5

Stable
See documentation
Uploaded on 25 January 2021 by 
Compatible with:
Version 11
Database:
All
Release notes:

Altered Feature: Chinese decimal point numbers now are followed with direct numbers from 0-9 after the decimal point.

New Feature: zero rules were implemented similar to the NumbersToNative Component.

Application Objects:
Format Currency has 0 AOs.

Version 1.0.4

Stable
Uploaded on 17 January 2021 by 
Compatible with:
Version 11
Database:
All
Release notes:

-Fixed bug in the Chinese Extended and Financial rendering for some numbers;

- GetDecimalFromLocaleDecimalString  now accepts currency symbols, and has an input to provide a currency in case it isn't the locale's symbol, otherwise it will use the currency from the locale (having the currency symbol in the string or not will lead to the same decimal output);

Application Objects:
Format Currency has 0 AOs.