Click or drag to resize
DefaultTaxEstimationServiceRoundTax Method
Returns rounded value according to the specified currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
protected virtual decimal RoundTax(
	decimal value,
	TaxEstimationParameters parameters
)

Parameters

value
Type: SystemDecimal
Tax value to be rounded.
parameters
Type: CMS.EcommerceTaxEstimationParameters
Currency which supplies number of digits the value is rounded to.

Return Value

Type: Decimal
See Also