title: Angular calculate percentage in the html
body: <p>Angular noob here! I am trying to display a percentage value in my html as follows:</p>
  
  <pre><code>&lt;td&gt; {{ ((myvalue/totalvalue)*100) }}%&lt;/td&gt;
  </code></pre>
  
  <p>It works but sometimes it gives a very long decimal which looks weird. How do i round it off to 2 digits after the decimal? Is there a better approach to this?</p>