Operator * Foundation

Multiplication operator (binary): performs numeric multiplication.

Syntax
<nValue1> * <nValue2>
Parameters
<nValue>
<nValue1> and <nValue2> are numeric expressions whose values are multiplied together.
Description

The multiplication operator multiplies the values of two numeric expressions and returns the result of the operation.

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

PROCEDURE Main 
                                    // multiplication first 
   ?  4 + 2  * 10                   // result: 24 

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

                                    // multiplication first 
   ?  4 - 2  * 10                   // result: -16 

                                    // subtraction first 
   ? (4 - 2) * 10                   // result: 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.