CurrencyInfoProviderGetFormattedValue Method |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax public static string GetFormattedValue(
decimal price,
CurrencyInfo currencyObj
)
Parameters
- price
- Type: SystemDecimal
Price to be formatted - currencyObj
- Type: CMS.EcommerceCurrencyInfo
Currency which can supply formatting string or 'round to' parameter - number of digits the price should be rounded to.
By default currency has no effect to the result and formatting string "{0:0.00}" is used.
Return Value
Type:
StringSee Also