J
JS
Hi all,
Is there anyway to read a number in from a file or similar as a String and
use it as an int variable i.e.
String s = "123";
int i = s;
The above code doesnt work because of the different types so are there any
methods anyone knows of to manage this.
Thanks in advance
JS
Is there anyway to read a number in from a file or similar as a String and
use it as an int variable i.e.
String s = "123";
int i = s;
The above code doesnt work because of the different types so are there any
methods anyone knows of to manage this.
Thanks in advance
JS