what are the parameters for the number pipe angular 2

Solutions on MaxInterview for what are the parameters for the number pipe angular 2 by the best coders in the world

showing results for - "what are the parameters for the number pipe angular 2"
Sébastien
08 Sep 2020
1{{ exampleNumber | number : '1.2-2' }}
2
3Format: {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}
4
5So example of '1.2-2' means:
6
7    A minimum of 1 digit will be shown before decimal point
8    It will show at least 2 digits after decimal point
9    But not more than 2 digits
10