Click or drag to resize

AmountAddition Operator

Returns the sum of the specified amounts. 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
Syntax
public static Amount operator +(
	Amount first,
	Amount second
)

Parameters

first
Type: Aloe.EnterpriseOne.ModelAmount
The first amount to add.
second
Type: Aloe.EnterpriseOne.ModelAmount
The second amount to add.

Return Value

Type: Amount
The sum of the amounts.
Exceptions
ExceptionCondition
InvalidOperationExceptionCannot add amounts, which have different currencies.
See Also