Use thousand separator in Angular with DecimalPipe

-2.5 | number:'1.0-0'
  • A minimum of 1 digit will be shown before decimal point
  • It will show at least 0 digits after decimal point
  • But not more than 0 digits


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.