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