Skip to content

Commit ee8d8e1

Browse files
mcculleygkalpak
authored andcommitted
docs(numberFilter): fix the description of the returned value
Closes angular#14408
1 parent 4a0bd6c commit ee8d8e1

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy