title: Operator * cannot be applied to double
body: <pre><code>public void onClick(View v){
      switch(v.getId()){
          case R.id.bereken:
  
             EditText basis = (EditText)findViewById(R.id.Basis);
                String tussenBasis = basis.getText().toString();
                  Double.valueOf(tussenBasis);
              //
  
              EditText hoogte = (EditText)findViewById(R.id.Hoogte);
                String tussenHoogte = hoogte.getText().toString();
                  Double.valueOf(tussenHoogte);
  
              double half = 1 / 2;
              //half = 0,5
  
              double einde = half * basis * hoogte;
              //eind antwoord formule
  
              ((TextView)findViewById(R.id.antwoord)).setText("Het antwoord is: " + einde);
              break;
      }
  
       }
  }
  </code></pre>
  
  <p>I'm trying to make a simple calculator for the area of a triangle, but I seem to be stuck here.</p>