title: Android Divide number with decimal fraction
body: <p>How can i check number is divisible by particular number or not both numbers are decimal. with decimal point value of two digits.
  i had tried with below 
  <code>(((dn / size) % 1) == 0)</code> but in some cases it not provide proper out put. 
  how can i resolve it. here i put some example values like 
  <code>double dn = 369.35,369.55.370.55</code> and size may be <code>0.05,0.10,0.5</code> etc... </p>
  
  <pre><code> if(((dn / size) % 1) == 0)    {
         Log.d(TAG,"OK");
      } else {
         Log.d(TAG,"OK");
      }
  </code></pre>
  
  <p>please help me to short out it.</p>