Next larger integer after dividing
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/17944/how-to-round-up-the-result-of-integer-division">How to Round Up The Result Of Integer Division</a>  </p>
</blockquote>



<pre><code>double d1=11, double d2=2
int i=d1/d2;
</code></pre>

<p>i would be 5.
But I would like it to return 6. (if the result is 5.01, I would want a 6 too)
How should I do it?</p>
