Of course you can't cast a string to an integer.Use
int i = Integer.parseInt(s); where s is a String reference.
|
Results 1 to 4 of 4
Thread: String to integer{resolved}Hybrid View
|
Click Here to Expand Forum to Full Width |