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 Subtract(
Amount first,
Amount second
)
Public Shared Function Subtract (
first As Amount,
second As Amount
) As Amount
public:
static Amount^ Subtract(
Amount^ first,
Amount^ second
)
static member Subtract :
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:
AmountThe substraction result.
See Also