Click or drag to resize
CurrencyInfoProvider.GetRelativelyFormattedPriceInternal Method (Double, CurrencyInfo, Boolean)
Returns relatively formatted price according to formatting string of the specified currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual string GetRelativelyFormattedPriceInternal(
	double price,
	CurrencyInfo currencyObj,
	bool encode
)

Parameters

price
Type: System.Double
Price to be formatted
currencyObj
Type: CMS.Ecommerce.CurrencyInfo
Currency which supplies formatting string
encode
Type: System.Boolean
Encode output

Return Value

Type: String
See Also