Compares the amounts. The amounts must have the same currency.
Namespace:
Aloe.EnterpriseOne.Model
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static int Compare(
Amount first,
Amount second
)
Public Shared Function Compare (
first As Amount,
second As Amount
) As Integer
public:
static int Compare(
Amount^ first,
Amount^ second
)
static member Compare :
first : Amount *
second : Amount -> int
Parameters
- first
- Type: Aloe.EnterpriseOne.ModelAmount
- second
- Type: Aloe.EnterpriseOne.ModelAmount
Return Value
Type:
Int32Less than zero - if first is less than second.Zero - if first is equal to second.More than zero - if first is greater than second.
See Also