diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/filter/filters.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ng/filter/filters.js b/src/ng/filter/filters.js index d5f3ed20..e0d81acb 100644 --- a/src/ng/filter/filters.js +++ b/src/ng/filter/filters.js @@ -62,7 +62,9 @@ function currencyFilter($locale) { * If the input is not a number an empty string is returned. * * @param {number|string} number Number to format. - * @param {(number|string)=} [fractionSize=2] Number of decimal places to round the number to. + * @param {(number|string)=} 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. * @returns {string} Number rounded to decimalPlaces and places a “,” after each third digit. * * @example |
