Can I remove .00 if there are no cents in the amount using angular's currency filter?

Viewed 5342
budget:number=50000;
{{budget | currency:'USD':true}}

The above code displays the budget like this

$50,000.00

But I want it to display like this

$50,000
3 Answers
{{budget| currency : 'USD' : 'symbol' : '1.0-0' }}
this.budget = budget.toFixed(2);
Related