Compare double to decimal value
<p>Never needed to do this before till now.           </p>

<p>trying to make sure the chargeAmount (which is type decimal) does not go below 1 cent:</p>

<pre><code> if (chargeAmount &lt; 0.01)
                throw new ArgumentOutOfRangeException("chargeAmount");
</code></pre>

<p>I tried 0.01D but obviously I am not sure how you format this.</p>
