CurrencyInfoProvider RoundToInternal Method Kentico 8.1 API Reference
Returns rounded price.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

price
Type: OnlineSystem Double
Price to be rounded
currencyObj
Type: CMS.Ecommerce CurrencyInfo
Currency which supplies 'round to' parameter - number of digits the price is rounded to

Return Value

Type: OnlineDouble
See Also