From 05dccf3295c641951adee80d1efd1f9b21c76ffa Mon Sep 17 00:00:00 2001 From: Ievgen Bondarenko Date: Fri, 29 May 2026 09:42:22 -0700 Subject: [PATCH] Update toFixed/toExponential/toPrecision digit range in docs to match the spec --- src/lib/es5.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index ced21a6d72af1..673ac55e47612 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -547,19 +547,19 @@ interface Number { /** * Returns a string representing a number in fixed-point notation. - * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive. + * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 100, inclusive. */ toFixed(fractionDigits?: number): string; /** * Returns a string containing a number represented in exponential notation. - * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive. + * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 100, inclusive. */ toExponential(fractionDigits?: number): string; /** * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits. - * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive. + * @param precision Number of significant digits. Must be in the range 1 - 100, inclusive. */ toPrecision(precision?: number): string;