Compares the quantities. The quantities must have the same unit.
Namespace:
Aloe.EnterpriseOne.Model
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static int Compare(
Quantity first,
Quantity second
)
Public Shared Function Compare (
first As Quantity,
second As Quantity
) As Integer
public:
static int Compare(
Quantity^ first,
Quantity^ second
)
static member Compare :
first : Quantity *
second : Quantity -> int
Parameters
- first
- Type: Aloe.EnterpriseOne.ModelQuantity
- second
- Type: Aloe.EnterpriseOne.ModelQuantity
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