I am wondering how to convert an edittext input to an int, I have the user input a number, it than divides it by 8.
MainActivity.java
@SuppressWarnin
You can use like this
EditText dollar=(EditText) findViewById(R.id.money); int rupees=Integer.parseInt( dollar.getText().toString());