Skip to content

slwzero/short-number-suffix

Repository files navigation

ShortNumberSuffix

This project was generated with Angular CLI version 6.2.5.

Development server

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.

Usage

<div>{{item.num | | shortNumberSuffix}}</div> 
// default to 0 decimal

<div>{{item.num | | shortNumberSuffix: '2'}}</div>
//  set 2 decimals after point 

Running unit tests

Run ng test to execute the unit tests via Karma.

API

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published