2 demal point in angular code example Example: angular 5 convert number to two decimal in html {{}} <div>{{ value | number:'1.2-2' }}</div>