($locale)
| 14912 | |
| 14913 | numberFilter.$inject = ['$locale']; |
| 14914 | function numberFilter($locale) { |
| 14915 | var formats = $locale.NUMBER_FORMATS; |
| 14916 | return function(number, fractionSize) { |
| 14917 | return formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP, |
| 14918 | fractionSize); |
| 14919 | }; |
| 14920 | } |
| 14921 | |
| 14922 | var DECIMAL_SEP = '.'; |
| 14923 | function formatNumber(number, pattern, groupSep, decimalSep, fractionSize) { |
nothing calls this directly
no test coverage detected