Subtract result precision issue
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9288904/division-returns-zero">Division returns zero</a>  </p>
</blockquote>



<p>Say you have the code below.</p>

<pre><code>double d=16/60; //I got d is 0.0 , but I expected d could be 0.27. 
</code></pre>

<p>How to make it ?thanks.</p>

<p><strong>Edit for the Best Answer :)</strong></p>

<pre><code>double d=16/60f;
d= Math.Round(d, 2); //result being 0.27
</code></pre>
