Angular currency pipe no decimal value : <p>I am trying to use the currency pipe in angular to display a whole number price, I don't need it to add .00 to my number, the thing is, its not formatting it according to my instructions.
here is my HTML:</p>

<pre><code>              &lt;h5 class="price"&gt;&lt;span&gt;{{billingInfo.amount | currency:billingInfo.currencyCode:'1.0-0'}}&lt;/span&gt; {{billingInfo.period}}&lt;/h5&gt;
</code></pre>

<p>here is my ts:</p>

<pre><code>ngOnInit() {
      this.billingInfo = {amount: 100, currencyCode: 'USD', period: 'Hour'};
}
</code></pre>

<p>and here is the output:</p>

<pre><code>$100.00 Hour
</code></pre>

<p>things I tried to do:</p>

<p>1.use the decimal number pipe(no good, the currency pipe turns it into a string)</p>

<p>2.add number formater(:1.0-0) to my currencyPipe but it seems to be ignored</p>

<p>what am I missing?</p>
