Select version
v7.18 v7.16 v7.13 v7.12 v7.11 v7.9 v7.8 v7.7 v7.6 v7.5 v7.3 v7.1 v7.0 v6.8 v6.7 v6.6 v6 v5 v4 v3 v2


Format Currency

The TransactionLibrary features a way of formatting a string or decimal, to a standard currency representation, using the current localization context.


    UCommerce.Api.TransactionLibrary.FormatCurrency(133.7m, "da-DK");

Example result



Parameter Type Details
amount string / decimal The money amount to be formatted
cultureCode string The culture code used in the formatting
Ucommerce Aps - Vestergade 58N, 4th. floor - 8000 Aarhus C - Denmark
Phone +45 61 799 997 - Email [email protected] Ucommerce logo