How to round currency (decimals) to Millions? (C#)
<p>I have decimal currency amounts (from SQl2k* tables as 32,8) and I would like to round them to Millions with 2 decimal places.</p>

<p>The system will be displaying 1000s of rows with multiple amounts in them, and I need to summarise the totals for various categories into a "quick view".</p>

<p>e.g.</p>

<pre><code>123,456,789.12345678
goes to
123.46

6,655,443,332.2110099
goes to
6,655.44
</code></pre>

<p>etc</p>

<p>I know there are issues with rounding and decimal/floating point math:</p>

<pre><code>45,454,454.454545
goes to
45.46 OR 45.45 ?
</code></pre>

<p>so also any advice on what's best to use would also be very much appreciated.</p>

<hr>

<p>Two more examples (of what I'd EXPECT...not what might actually be mathematically correct!)</p>

<pre><code>555444444.444444 =&gt; 555.44
555444444.444445 =&gt; 555.45
</code></pre>

<p>I would expect the final "5" of the second example to cascade up to the decimal place?</p>
