8000 docs(numberFilter): fix the description of the returned value · coderofsalvation/angular.js@9f681c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f681c4

Browse files
mcculleygkalpak
authored andcommitted
docs(numberFilter): fix the description of the returned value
Closes angular#14408
1 parent d9448dc commit 9f681c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ng/filter/filters.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ function currencyFilter($locale) {
9393
* @param {(number|string)=} fractionSize Number of decimal places to round the number to.
9494
* If this is not provided then the fraction size is computed from the current locale's number
9595
* formatting pattern. In the case of the default locale, it will be 3.
96-
* @returns {string} Number rounded to fractionSize and places a “,” after each third digit.
96+
* @returns {string} Number rounded to `fractionSize` appropriately formatted based on the current
97+
* locale (e.g., in the en_US locale it will have "." as the decimal separator and
98+
* include "," group separators after each third digit).
9799
*
98100
* @example
99101
<example module="numberFilterExample">

0 commit comments

Comments
 (0)
0