title: Showing sum of values with two decimals
body: <p>I'm having a list of items where one attribute is of type decimal.</p>
  
  <p>When I try to sum the items attribute and display it with two decimals it won't work when the sum is even.</p>
  
  <p>For example:</p>
  
  <p>If sum is 30000 I want it to display 30000.00, now it shows just 30000.</p>
  
  <p>But if the sum is 30000.55 it displays 30000.55.</p>
  
  <p>My view code:</p>
  
  <pre><code>for (var j = 0; j &lt; Model.Calculation.Count; j++)
  {
       @Model.Calculation[j].Sum(item =&gt; item.InterestAmount).ToString("#.##")
  }
  </code></pre>
  
  <p>How can I make it show 30000.00 when the sum is 30000?</p>