Answers for "What are the parameters for the number Pipe - Angular 2"

2

What are the parameters for the number Pipe - Angular 2

{{ exampleNumber | number : '1.2-2' }}

Format: {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}

So example of '1.2-2' means:

    A minimum of 1 digit will be shown before decimal point
    It will show at least 2 digits after decimal point
    But not more than 2 digits
Posted by: Guest on January-20-2021

Code answers related to "What are the parameters for the number Pipe - Angular 2"

Code answers related to "Javascript"

Browse Popular Code Answers by Language