($locale)
| 9881 | |
| 9882 | numberFilter.$inject = ['$locale']; |
| 9883 | function numberFilter($locale) { |
| 9884 | var formats = $locale.NUMBER_FORMATS; |
| 9885 | return function(number, fractionSize) { |
| 9886 | return formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP, |
| 9887 | fractionSize); |
| 9888 | }; |
| 9889 | } |
| 9890 | |
| 9891 | var DECIMAL_SEP = '.'; |
| 9892 | function formatNumber(number, pattern, groupSep, decimalSep, fractionSize) { |
nothing calls this directly
no test coverage detected