Is there any way to use Angular percent pipe without sign?

3.8k Views Asked by At

I am trying to format the value with percent pipe in html(Angular2) and i need the percentage value without % sign

1

There are 1 best solutions below

0
benshabatnoam On

As @Amadan commented in your question, you can use number pipe instead of percent pipe and multiply your value by 100. Like this:

{{ value * 100 | number }}

See this DEMO sample