NUM * NUM Operator

The NUM * NUM operator multiples the first number value by the second and returns the result.

The * 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 both ⟦NUM⟧ placeholders with the numeric values that you want to multiply. A number value.

Example

The following script calculates a total price by multiplying the number variable SalePriceNU with the number variable SalesTaxNU.

SET TotalPriceNU TO SalePriceNU * SalesTaxNU

Download

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