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  

int()

   
Examples  
int i = int(245.456); 

Description   Converts a primitive datatype to its integer representation.
   
Syntax  
int(value)
   
Parameters  
value   int, float, char, byte, boolean, color

   
Returns   int
   
Usage   Web & Application
   
Related   int
float()
char()
byte()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas