MoneyLessThanOrEqual Operator

Compares two values to determine which is less or equal.

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
true if the first instance is less than or equal to the second instance.

Implements

IComparisonOperatorsTSelf, TOther, TResultLessThanOrEqual(TSelf, TOther)

Exceptions

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

See Also