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