This project was generated with Angular CLI version 6.2.5.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
<div>{{item.num | | shortNumberSuffix}}</div>
// default to 0 decimal
<div>{{item.num | | shortNumberSuffix: '2'}}</div>
// set 2 decimals after point
Run ng test
to execute the unit tests via Karma.
MIT