I am trying to do something like this:
String text = TextBox1.getText();
int number = (int)text;
It is not letting me cast a string to an integer.
Can anyone tell me how to do this?
|
Results 1 to 4 of 4
Thread: String to integer{resolved}Threaded View
|
Click Here to Expand Forum to Full Width |