MoneyRound(IRoundingStrategy) Method

Rounds the instance internal value to the smallest fractional unit of the instance's currency using a specific rounding strategy.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public decimal Round(
	IRoundingStrategy rounding
)

Parameters

rounding  IRoundingStrategy
The rounding strategy to use

Return Value

Decimal
A Decimal rounded to the nearest fractional unit.

See Also