How to check Android EditText integer value?
<p>I'm trying to make an app that would calculate the income tax of a given person. There is an EditText field where the user must point out his monthly wage and then it's being calculated in the MainActivity.java. The problem is - when I try to do some maths using the given input field, an error <code>The operator * is undefined for the argument type(s) EditText, double</code> shows up.</p>

<pre><code>wage = (EditText) findViewById(R.id.wage);
submit.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
            wageAfterTax = wage * 0.25;
            result.setText("Your wage after tax deductions is " + wageAfterTax);
        }
    });
</code></pre>

<p>Can you please suggest what to do?</p>
