Sorry for my bad English I want to know how to convert a mathematical sum in EditText to int for example if I put this sum in calculator app 1+2+3+4 the EditText reads it as String not int .. so how can I convert it to int then get the sum of it.
Asked
Active
Viewed 24 times
0
-
Use Integer.valueOf(et.getText.toString()); – Fazal Hussain Mar 22 '18 at 16:35
-
Didn't work ..... !!! – AbdallahBedo Mar 26 '18 at 19:21