From 9ac4a4d8a012ff7e0f1171f762d5c87ecd07aa10 Mon Sep 17 00:00:00 2001 From: Christopher Dahm Date: Mon, 3 Dec 2018 08:41:36 -0500 Subject: [PATCH] docs(common): update currencyPipe default digitsInfo values (#27417) Change the docs to reflect the actual default values Fixes #27414 PR Close #27417 --- packages/common/src/pipes/number_pipe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/pipes/number_pipe.ts b/packages/common/src/pipes/number_pipe.ts index 72ded607be4b2..8f00995e73b4b 100644 --- a/packages/common/src/pipes/number_pipe.ts +++ b/packages/common/src/pipes/number_pipe.ts @@ -179,9 +179,9 @@ export class CurrencyPipe implements PipeTransform { * - `minIntegerDigits`: The minimum number of integer digits before the decimal point. * Default is `1`. * - `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. - * Default is `3`. + * Default is `2`. * 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. * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.