title: C# Padding Amount With Zeros
body: <p>I have an <code>amount</code> field which is a decimal in the database.
  I need to always display this amount with 10 numbers on the left of the decimal and two after.</p>
  
  <p>Example:<br>
  <code>Amount = 245.00</code> which should display as <code>0000000245.00</code>
  Additionally, the amount could be over 1,000 or 10,000 which should display as:</p>
  
  <p><code>0000001245.00</code> and <code>0000011245.00</code></p>
  
  <p>How can I format the amount to always have the appropriate number of zeros on the left side of the decimal with a variable amount size?   </p>