Index
 
  Reference for Wiring 1.0 (ALPHA) 0017+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name  

int()

   
Examples  
int i = int(245.456); 

Description   Converts a primitive datatype to its integer representation.

정수 데이터 형으로 변환합니다. 

   
Syntax  
int(value)
   
Parameters  
value   int, long, float, char, byte or boolean

   
Returns   int
   
Usage   Application
   
Related   int
long()
float()
char()
byte()
boolean()