CurrencyInfoProviderGetRelativelyFormattedPrice 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: 10.0.0
Syntax public static string GetRelativelyFormattedPrice(
double price,
CurrencyInfo currencyObj,
bool encode = true
)
Parameters
- price
- Type: SystemDouble
Price to be formatted - currencyObj
- Type: CMS.EcommerceCurrencyInfo
Currency which supplies formatting string - encode (Optional)
- Type: SystemBoolean
Encode output
Return Value
Type:
StringSee Also