title: Logical error in Java programming
body: <pre><code>case R.id.bTanx:
          temp=(float) (number/0.0174532925);
          num=Math.tan(temp);
          display.setText("Your Result is   " + num);
  </code></pre>
  
  <p>Guys I'm not able to get "Your Result is  1" when <code>number = 45</code> ,by this code.Please help.
  As <code>tan(45)=1</code> in degrees.i have converted it.but no desired result.</p>