title: Angular DecimalPipe Transform Not Working in Firefox
body: <p>I am programmatically applying a DecimalPipe transform to format a number to have two decimal places. This works in Chrome, IE, and Edge. It is not working in Firefox (60.0.2).</p>
  
  <pre><code>&lt;input class="hour-input" min="0" max="24" type="number" step=".01" [(ngModel)]="hours"&gt;
  
  export class HourComponent {
      hours: string;
      constructor(private numberPipe: DecimalPipe) { }
  
      formatHours() {
          this.hours = this.numberPipe.transform(this.hours, '1.2-2');
      }
  }
  </code></pre>
  
  <p>I thought this <a href="https://stackoverflow.com/questions/41021277/angular-2-currency-format-is-not-working-in-firefox-v24">post</a> that mentions the <a href="https://www.npmjs.com/package/intl" rel="nofollow noreferrer">intl</a> package might be related, but I am already importing this polyfill. It was also my understanding that Angular <a href="https://github.com/angular/angular/issues/10809" rel="nofollow noreferrer">pipes no longer depend on the intl package</a> as of Angular v5. I am using the standard <a href="https://v5.angular.io/guide/i18n#i18n-pipes" rel="nofollow noreferrer">LOCALE_ID</a> pattern.</p>
  
  <p>Note that the DecimalPipe does work in Firefox if used directly in the UI:</p>
  
  <pre><code>{{hours | number: '1.2-2'}}
  </code></pre>