Click or drag to resize
CurrencyInfoProviderRecalculateValuesInternal Method
Recalculates specified values with given exchange rate.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual void RecalculateValuesInternal(
	int oldCurrencyId,
	int newCurrencyId,
	int siteId,
	float rate,
	int round,
	RecalculationSettings settings
)

Parameters

oldCurrencyId
Type: SystemInt32
ID of the old main currency
newCurrencyId
Type: SystemInt32
ID of the new main currency
siteId
Type: SystemInt32
ID of the site to be recalculated
rate
Type: SystemSingle
Exchange rate which will be used when recalculating
round
Type: SystemInt32
Number of decimal digits to which the result will be rounded
settings
Type: CMS.EcommerceRecalculationSettings
Determines which objects are to be recalculated
See Also