From c2e9cd82978586356fcc7142b47ae5234c72049a Mon Sep 17 00:00:00 2001 From: Rahat Ahmed Date: Tue, 17 Nov 2015 12:33:14 -0600 Subject: [PATCH] docs(number): fix use of undefined decimalPlaces Replace `decimalPlaces` with `fractionSize`, as `decimalPlaces` isn't defined anywhere and is most likely meant to be `fractionSize`. --- src/ng/filter/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/filter/filters.js b/src/ng/filter/filters.js index bc84deb76612..c37a11f8a488 100644 --- a/src/ng/filter/filters.js +++ b/src/ng/filter/filters.js @@ -89,7 +89,7 @@ function currencyFilter($locale) { * @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. + * @returns {string} Number rounded to fractionSize and places a “,” after each third digit. * * @example