QuantitySubtraction Operator |
Subtracts the second quantity from the first. 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 Quantity operator -(
Quantity first,
Quantity second
)
Public Shared Operator - (
first As Quantity,
second As Quantity
) As Quantity
public:
static Quantity^ operator -(
Quantity^ first,
Quantity^ second
)
static let inline (-)
first : Quantity *
second : Quantity : Quantity
Parameters
- first
- Type: Aloe.EnterpriseOne.ModelQuantity
The quantity from which to subtract. - second
- Type: Aloe.EnterpriseOne.ModelQuantity
The quantity to subtract.
Return Value
Type:
Quantity
Exceptions
See Also