How to display the number without comma , for exemple
11.5 ==> 11
Check out this piece of the Angular Documentations.
According to the page, you need to use a decimalPipe
.
Syntax:
<!-- This should output 11. -->
{{ 11.5 | number: '1.0-0' }}
<!-- Where 1 is the minimum integer digits. -->
<!-- Where .0-0 is the minimum to maximum number of decimal digits. -->
thank you !! its Works