How to round up value C# to the nearest integer?
<p>I want to round up double to int.</p>

<p>Eg,</p>

<pre><code>double a=0.4, b=0.5;
</code></pre>

<p>I want to change them both to integer.</p>

<p>so that </p>

<pre><code>int aa=0, bb=1;
</code></pre>

<p><code>aa</code> is from <code>a</code> and <code>bb</code> is from <code>b</code>.</p>

<p>Any formula to do that?</p>
