Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com