IRoundingServiceRound Method |
Returns rounded price according to the specified currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax decimal Round(
decimal price,
CurrencyInfo currency
)
Parameters
- price
- Type: SystemDecimal
Price to be rounded - currency
- Type: CMS.EcommerceCurrencyInfo
Currency which supplies number of decimal places
Return Value
Type:
DecimalSee Also