MoneySubtract Method

Subtracts one instances of Money from another.

Definition

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

Parameters

left  Money
The first Money to subtract.
right  Money
The second Money to subtract.

Return Value

Money
A new Money instance equal in value to the second instance subtracted from the first.

Exceptions

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

See Also