title: Angular 6 input type number dot/comma
body: <p>I'm trying to bind a decimal value to my model</p>
  
  <pre><code>&lt;input type="number" id="newPlatePrice"
                             step = "0.01" min = "0"
                             size = 40
                             required
                             name="price"
                             [(ngModel)]="newPlate.price"
                             #newPlatePriceInput="ngModel"
                             (ngModelChange)="replaceDecimal($event)" /&gt;
  </code></pre>
  
  <p>In my model, <code>newPlate.price</code> is a number.</p>
  
  <p>If in the input box, I insert a value with comma <em>(11,11)</em>, everything works great. The problem is that if I insert a number using dot <em>(11.11)</em>, the binding with the newPlate.price breaks. I'm looking for a way to convert in real time the user input, so if the user inserts a decimal number using dot, I would like to instantly convert it to a comma. </p>
  
  <p>Does anyone have any suggestion?</p>