angular number with 2 decimals code example
Example 1: angular pipe for 2 decimal places
{{ number | number : '1.2-2'}}
Example 2: accept 2 values after decimal in angular forms
<input type="textbox" [(ngModel)]="InputValue" appTwoDigitDecimaNumber>