ShoppingCartInfo GetFormattedPrice Method (Double, Boolean)Kentico 8.0 API Reference
Returns formatted price using the shopping cart currency formatting string.

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

Parameters

price
Type: OnlineSystem Double
Price to be formatted
rounded
Type: OnlineSystem Boolean
True - price is rounded using the shopping cart currency settings before formatting

Return Value

Type: OnlineString
See Also