Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

* (multiply)

   
Examples  
int e = 50 * 5;  // Sets e to 250 
int f = e * 5;   // Sets f to 1250 

Description   Multiplies the values of the two parameters. Multiplication is equivalent to a sequence of addition. For example 5 * 4 is equivalent to 5 + 5 + 5 + 5.
   
Syntax  
value1 * value2
   
Parameters  
value1   int, float, byte, or char

value2   int, float, byte, or char

   
Usage   Web & Application
   
Related   + (add)
/ (divide)
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas