Click or drag to resize
CurrencyInfoProviderRoundToInternal Method
Returns rounded price.

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

Parameters

price
Type: SystemDouble
Price to be rounded
currencyObj
Type: CMS.EcommerceCurrencyInfo
Currency which supplies 'round to' parameter - number of digits the price is rounded to

Return Value

Type: Double
See Also