MoneyRound(IRoundingStrategy, Int32) Method
Rounds the instance internal value to the smallest fractional unit
of the instance's currency, to a specified number of decimal
places, using a specific rounding strategy.
Namespace: InnerDrive.FinancialAssembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
public decimal Round(
IRoundingStrategy rounding,
int decimals
)
- rounding IRoundingStrategy
- The rounding strategy to use
- decimals Int32
- The number of decimal places to round the value.
DecimalA
Decimal rounded to the nearest fractional unit.