Decimal Extensions
These extensions can be found within the namespace UmbCheckout.Shared.Extensions
FormatCurrency
Section titled โFormatCurrencyโReturns the decimal as currency, with the currencyโs symbol and number of decimal places, in the current culture (or the culture you pass). This can be combined with GetIsoCurrencySymbol
string FormatCurrency(this decimal amount, string? currencyCode, CultureInfo? culture = null)Model.SubTotal.FormatCurrency(CultureInfo.CurrentUICulture.GetISOCurrencySymbol())