-1

Possible Duplicate:
How to convert string to int in Java?

Please, I am developing an android application (Java, XML). How can I get a text from a textfield and convert it to an integer?

Community
  • 1
  • 1

1 Answers1

1

number = Integer.parseInt(yourStringHere);

Charles
  • 245
  • 2
  • 11