MoneyGreaterThan Operator

Compares two values to determine which is greater.

Definition

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

Parameters

left  Money
The value to compare with right.
right  Money
The value to compare with left.

Return Value

Boolean
if left is greater than right; otherwise, .

Implements

IComparisonOperatorsTSelf, TOther, TResultGreaterThan(TSelf, TOther)

Exceptions

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

See Also