Divide

 

Divides a number (the dividend) by another number (the divisor) and then assigns the result (the quotient) to a variable.

 

Properties

Option

Description

Numerator

Enter the integer or float value to be divided (the dividend).

This must be a value that is provided as a literal preceded by =, or a variable of the correct type.

Denominator

Enter the integer or float value to divide the numerator by (the divisor).

This must be a value that is provided as a literal preceded by =, or a variable of the correct type.

If you use a variable, ensure that it will never be set to zero. (The Compare Variables
action cell can be used to check this before the division.) 

Result

Enter an integer or float variable to store the result (the quotient) of the division. The latter is recommended if the result may not be a whole number. 

If you enter a variable used in the numerator denominator, you will overwrite that variable's value with this result.

Exit Points

Exit Point

Description

Complete

This is taken when the action cell has executed.

Error

This is taken if an internal error occurred or where the result is undefined (such as when the denominator is zero).