Divide /

Syntax:

N value_1 / N value_2

 

Return Value:

N result_of_division

 
Precedence:8
Description:

This operand is used for dividing numbers. Dividing by zero produces an error

 

Example:

21 / 7 = 3

 

When dividing by a power of ten you may be able to avoid rounding errors that might otherwise be introduced by replacing the division by a multiplication: for example prefer x*0.01 to x/100. In other situations, multiplying by 1.00 (with an appropriate number of zeros after the decimal point) may also be beneficial.