CurrencyInfoProviderGetFormattedValue Method |
Returns formatted price, by default formatting string "{0:0.00}" is used.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntaxpublic static string GetFormattedValue(
double price,
CurrencyInfo currencyObj
)
Parameters
- price
- Type: SystemDouble
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.
Be default currency has no effect to the result and formatting string "{0:0.00}" is used.
Return Value
Type:
String
See Also