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