Convert a string to an int (parseInt)
 
If you have a String some_string = "102";
and you want to create an int with 102 inside, use the following code:

String some_string = "102";
int some_int = 0;

some_int = Integer.parseInt( some_string );
 
admin / Dec 05, 2004
   
 
 
Login: 
Pass: 
 
 
     
     
2004 - 2019 / lookass.ch
makememad@lookass.ch