| CurrencyInfoProviderChangeMainCurrency Method  | 
            Changes main currency and recalculates specified "money" values.
            
 
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntaxpublic static void ChangeMainCurrency(
	int siteId,
	int newCurrencyId,
	double coefficient,
	int roundTo,
	RecalculationSettings settings
)
Parameters
- siteId
 - Type: SystemInt32
ID of the site, which main currency is to be changed - newCurrencyId
 - Type: SystemInt32
ID of the new main currency - coefficient
 - Type: SystemDouble
Exchange rate which will be used wen recalculating - roundTo
 - 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