title: Two Decimal places using c#
body: <pre><code>decimal Debitvalue = 1156.547m;
  
  decimal DEBITAMT = Convert.ToDecimal(string.Format("{0:0.00}", Debitvalue));
  </code></pre>
  
  <p>I have to get only two decimal places but by using this code I am getting 1156.547.
  Let me know which format I have to use to display two decimal places.</p>