ShoppingCartInfoGetFormattedPrice Method (Double, Boolean) |
Returns formatted price using the shopping cart currency formatting string.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax public string GetFormattedPrice(
double price,
bool rounded
)
Parameters
- price
- Type: SystemDouble
Price to be formatted - rounded
- Type: SystemBoolean
True - price is rounded using the shopping cart currency settings before formatting
Return Value
Type:
StringSee Also