Click or drag to resize

QuantityCompare Method

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
Syntax
public static int Compare(
	Quantity first,
	Quantity second
)

Parameters

first
Type: Aloe.EnterpriseOne.ModelQuantity
second
Type: Aloe.EnterpriseOne.ModelQuantity

Return Value

Type: Int32
Less 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