CurrencyInfoProvider.GetRelativelyFormattedPrice Method (Double, CurrencyInfo, Boolean) |
Returns relatively formatted price according to formatting string of the specified currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntaxpublic static string GetRelativelyFormattedPrice(
double price,
CurrencyInfo currencyObj,
bool encode = true
)
Parameters
- price
- Type: System.Double
Price to be formatted - currencyObj
- Type: CMS.Ecommerce.CurrencyInfo
Currency which supplies formatting string - encode (Optional)
- Type: System.Boolean
Encode output
Return Value
Type:
String
See Also