Click or drag to resize
CurrencyInfoProviderGetRelativelyFormattedPriceInternal Method (Double, Int32, Boolean)
Returns relatively formatted price according to formatting string of the specified site main currency.

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

Parameters

price
Type: SystemDouble
Price to be formatted
siteId
Type: SystemInt32
Id of the site which main currency has to be used for formatting
encode
Type: SystemBoolean
Encode output

Return Value

Type: String
See Also