title: expected<true>,but was<false>
body: <p>I have a small application that converts temperature from <em>Celsius</em> to <em>Fahrenheit</em> and vice-versa. I have two RadioButtons to select the temperature i.e. Celsius or Fahrenheit and one Button and one EditText . I created a <code>Junit</code> to test the application.<br>
  Here is my test code:</p>
  
  <pre><code>float temparature=102;
  Float expected=(float) 0;
  solo.enterText(0,String.valueOf(temparature));
  solo.clickOnButton("calculate");
  
           if(solo.isRadioButtonChecked(0)){
              expected=((temparature-32)*5/9);
              }
           else if(solo.isRadioButtonChecked(1)){
            expected=((temparature*9)/5)+32;
                  }
  
           String temp=expected+"";
  
           assertEquals(true,solo.searchEditText(temp));  
  
  }
  </code></pre>
  
  <p>When I run the above test, test run was successful but failed saying: <code>expected&lt;true&gt;but was &lt;false&gt;</code>. I think there is some problem with value rounding. Please let me know what exactly is the problem.</p>