Tuesday, April 10, 2018

There is a CurrencyPipe built into Angular 4 for formatting numbers as dollar values.

See this. This also shows off a pipe just for formatting numbers.

| currency: 'USD':true:'2.2-4'

 
 

...might be the best way to format numbers as dollars.

No comments:

Post a Comment