CurrencyInfoProvider GetFormattedValueInternal Method Kentico 8.1 API Reference
Returns formatted price, by default formatting string "{0:0.00}" is used.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

price
Type: OnlineSystem Double
Price to be formatted
currencyObj
Type: CMS.Ecommerce CurrencyInfo
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: OnlineString
See Also