diff --git a/packages/common/src/i18n/format_number.ts b/packages/common/src/i18n/format_number.ts index 62b53361ca..abea0626f6 100644 --- a/packages/common/src/i18n/format_number.ts +++ b/packages/common/src/i18n/format_number.ts @@ -136,7 +136,7 @@ function formatNumberToLocaleString( * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) * 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: + * @param digitsInfo Decimal representation options, specified by a string in the following format: * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * * @returns The formatted currency value. @@ -177,7 +177,7 @@ export function formatCurrency( * * @param value The number to format. * @param locale A locale code for the locale format rules to use. - * @param digitInfo Decimal representation options, specified by a string in the following format: + * @param digitsInfo Decimal representation options, specified by a string in the following format: * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * * @returns The formatted percentage value. @@ -206,7 +206,7 @@ export function formatPercent(value: number, locale: string, digitsInfo?: string * * @param value The number to format. * @param locale A locale code for the locale format rules to use. - * @param digitInfo Decimal representation options, specified by a string in the following format: + * @param digitsInfo Decimal representation options, specified by a string in the following format: * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details. * * @returns The formatted text string.