title: How to have thousand separator and decimal separator at once in ngx mask using angular7?
body: <p>I have an <code>angular7</code> app in which i have an input on which i have to apply <code>mask</code> using <code>ngx-mask</code>. </p>
  
  <p>I have the input like this</p>
  
  <pre><code>&lt;input matInput mask="separator.2" thousandSeparator=","  [(ngModel)]="currency"&gt;
  </code></pre>
  
  <p>It gives me result like this</p>
  
  <pre><code>3,000,000,000,000
  </code></pre>
  
  <p>But i want the result like this</p>
  
  <pre><code>3,000,000,000,000.00
  </code></pre>
  
  <p>That means i also want .00 formatting at the end of the value entered. and if user entered this value</p>
  
  <pre><code>3,000,000,000,000.345
  </code></pre>
  
  <p>so that value preserves, and i don't want .00 then because .345 is already there. </p>
  
  <p><code>Stackblitz</code> link is   <a href="https://stackblitz.com/edit/angular-ivy-bwhuzg" rel="nofollow noreferrer">here</a></p>