CurrencyInfoProviderRoundTo Method (Double, Int32) |
Returns rounded price according to the specified currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static double RoundTo(
double price,
int currencyId
)
Parameters
- price
- Type: SystemDouble
Price to be rounded - currencyId
- Type: SystemInt32
ID of the currency which supplies 'round to' parameter - number of digits the price is rounded to
Return Value
Type:
DoubleSee Also