Operator / Foundation

Division operator (binary): performs numeric division.

Syntax
<nValue1> / <nValue2>
Parameters
<nValue1>
<nValue1> is a numeric expression whose value is the numerator of the division.
<nValue2>
<nValue2> is a numeric expression whose value is the denominator of the division. <nValue2> cannot be 0 (zero).
Description

The division operator divides the value of <nValue1> by the value of <nValue2> and returns the result of the operation.

Examples
The division operator (/)
// This example shows various division operations 
// and demonstrates the precedence of various operators. 

PROCEDURE Main 
                                    // division first 
   ?  4 + 2  / 10                   // result: 4.20 

                                    // addition first 
   ? (4 + 2) / 10                   // result: 0.60 

                                    // division first 
   ?  4 - 2  / 10                   // result: 3.80 

                                    // subtraction first 
   ? (4 - 2) / 10                   // result: 0.20 

RETURN 
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.