Skip to content

Commit

Permalink
docs(common): update currencyPipe default digitsInfo values (angular#…
Browse files Browse the repository at this point in the history
…27417)

Change the docs to reflect the actual default values

Fixes angular#27414
PR Close angular#27417
  • Loading branch information
Christopher Dahm authored and ngfelixl committed Jan 27, 2019
1 parent 50c93c6 commit 3b993f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/pipes/number_pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3b993f5

Please sign in to comment.