angular pipe for number upto 2 decimal point only code example Example: angular pipe for 2 decimal places {{ number | number : '1.2-2'}}