It is use to format a number as a Text.Syntex:
{{ number_expression | number : fractionSize}}
{{ number_expression | number : fractionSize}}
fractionSize: Number of decimal places to round the number to. If this is not provided then the fraction size is computed from the current locale's number formatting pattern. In the case of the default locale, it will be 3.
Example:
I created a fiddle here with a demo:
https://jsfiddle.net/sk0otnch/
Example:
I created a fiddle here with a demo:
https://jsfiddle.net/sk0otnch/
 
No comments:
Post a Comment