Search code examples
angularnumber-formattingangular-pipecurrency-pipe

How to hide currency symbol in angular currency pipe


I'm trying to use Angular currency pipe and I wanted to remove the currency symbol all together from the formatted number, but it seems there is no option to do that. So is there any easy way to achieve this without writing a custom pipe for it?


Solution

  • As @R.Richards mentioned, I ended up using the number pipe:

    {{ 50000 | number }} <!-- output: 50,000 -->