ShoppingCartInfo GetFormattedPrice Method (Double, Boolean)Kentico 8.1 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.1.5347.20411)

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