Hi All, Can someone help me with how to convert an String to a int.... I am writing a piece of code & I am having some problem if I used the intValue() function. Help. Thanks, Aruna
ali farid
Ranch Hand
Joined: Aug 26, 2000
Posts: 60
posted
0
Hi you can use this: String str="123"; int i=Integer.parseInt(str);