NUM + NUM Operator

The NUM + NUM operator adds together the two selected number values you specify and returns the result.

This operator is one of Author's arithmetic operators that you can use in calculations.

Operator Model After you drag and drop the model into the script tab: Expression returns:
+ ⟦NUM⟧ + ⟦NUM⟧  Replace the ⟦NUM⟧ placeholders with the numeric values you want to add. A number value.

Example

The following script calculates a total price by adding the number variable SalePriceNU to ItemSurchargeNU.

SET TotalPriceNU TO SalePriceNU + ItemSurchargeNU

Download

After you download the example template, you can import the template to any workspace to see this example code in action.