title: How to use DecimalPipe from component in angular?
body: <p>I have a requirement that I have to convert the number using the decimal pipe from ts</p>
  
  <p>Instead of use decimal pipe like this</p>
  
  <pre><code>&lt;td&gt;{{rmanFmvRulesDef.max  | number :'1.2-2'}}&lt;/td&gt;
  </code></pre>
  
  <p>I want to manipulate it from the component, can anyone please help me?</p>