Format a decimal to a minor currency
<p>I need to format a decimal to a minor currency e.g. 10.00 should be 1000.</p>

<pre><code>decimal currency = 10.00m;
System.Console.WriteLine(currency.ToString("######"));
</code></pre>

<p>Produces 10, how do I get the decimal points to be added to that?</p>
