MoneySubtraction(Money, Money) Operator

Subtracts two values to compute their difference.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public static Money operator -(
	Money left,
	Money right
)

Parameters

left  Money
The value from which right is subtracted.
right  Money
The value which is subtracted from left.

Return Value

Money
The value of right subtracted from left.

Implements

ISubtractionOperatorsTSelf, TOther, TResultSubtraction(TSelf, TOther)

Exceptions

InvalidOperationExceptionThrown if the two Money values are denominated in different currencies.

See Also