title: How to display two decimals in jquery
body: <p>I am doing average of student marks in jQuery <code>row.append</code></p>
  
  <pre><code> row.append($('&lt;TD&gt;&lt;/TD&gt;').text(((item.Marks1 + item.Marks2 + item.Marks3) / 300) * 100));
  </code></pre>
  
  <p>I used like this its not working</p>
  
  <pre><code> row.append($('&lt;TD&gt;&lt;/TD&gt;').text((Math.floor(item.Marks1 + item.Marks2 + item.Marks3) / 300) * 100));
  </code></pre>
  
  <p>This is average how to accept two decimals this type of formats please help me.</p>