From c68371ed14c332f922f24768c18756841494d7c0 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Mon, 12 Aug 2019 10:58:39 -0700 Subject: [PATCH] docs: format currency api (#32107) PR Close #32107 --- packages/common/src/i18n/format_number.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/common/src/i18n/format_number.ts b/packages/common/src/i18n/format_number.ts index 0c17710273..c78a4a7336 100644 --- a/packages/common/src/i18n/format_number.ts +++ b/packages/common/src/i18n/format_number.ts @@ -134,7 +134,8 @@ function formatNumberToLocaleString( * such as "$" or "Canadian Dollar". Used in output string, but does not affect the operation * of the function. * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) - * currency code to use in the result string, such as `USD` for the US dollar and `EUR` for the euro. + * currency code, such as `USD` for the US dollar and `EUR` for the euro. + * Used to determine the number of digits in the decimal part. * @param digitInfo Decimal representation options, specified by a string in the following format: * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. *