angular 5 convert number to two decimal in html {{}} code example
Example 1: angular pipe for 2 decimal places
{{ number | number : '1.2-2'}}
Example 2: angular 5 convert number to two decimal in html {{}}
<div>{{ value | number:'1.2-2' }}</div>
Example 3: angular 5 convert number to two decimal in html {{}}
<div>{{ value | number:'1.2-2' }}</div>