Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
IRoundingService Interface
IRoundingService Methods
Round Method
IRoundingService
Round Method
Returns rounded price according to the specified currency.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
Copy
decimal
Round
(
decimal
price
,
CurrencyInfo
currency
)
Parameters
price
Type:
System
Decimal
Price to be rounded
currency
Type:
CMS.Ecommerce
CurrencyInfo
Currency which supplies number of decimal places
Return Value
Type:
Decimal
See Also
Reference
IRoundingService Interface
CMS.Ecommerce Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com