docs(common): update currencyPipe default digitsInfo values (#27417)

Change the docs to reflect the actual default values

Fixes #27414
PR Close #27417
This commit is contained in:
Christopher Dahm 2018-12-03 08:41:36 -05:00 committed by Miško Hevery
parent a9543457ef
commit d0d351cccb
1 changed files with 2 additions and 2 deletions

View File

@ -179,9 +179,9 @@ export class CurrencyPipe implements PipeTransform {
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point. * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
* Default is `1`. * Default is `1`.
* - `minFractionDigits`: The minimum number of digits after the decimal point. * - `minFractionDigits`: The minimum number of digits after the decimal point.
* Default is `0`. * Default is `2`.
* - `maxFractionDigits`: The maximum number of digits after the decimal point. * - `maxFractionDigits`: The maximum number of digits after the decimal point.
* Default is `3`. * Default is `2`.
* If not provided, the number will be formatted with the proper amount of digits, * If not provided, the number will be formatted with the proper amount of digits,
* depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies. * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.
* For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none. * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.