Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down