Click or drag to resize
CurrencyInfoProviderGetRelativelyFormattedPriceInternal Method (Decimal, 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: 13.0.131
Syntax
C#
protected virtual string GetRelativelyFormattedPriceInternal(
	decimal price,
	CurrencyInfo currencyObj,
	bool encode
)

Parameters

price
Type: SystemDecimal
Price to be formatted
currencyObj
Type: CMS.EcommerceCurrencyInfo
Currency which supplies formatting string
encode
Type: SystemBoolean
Encode output

Return Value

Type: String
See Also