0 votes
in JavaScript by
Which of these functions of the Number Object would format a number with different numbers of digits to the decimal’s right?

a. toFixed()

b. toExponential()

c. toLocaleString()

d. toPrecision()

1 Answer

0 votes
by
a. toFixed()

Related questions

0 votes
asked Dec 2, 2022 in JavaScript by john ganales
0 votes
asked Dec 1, 2022 in JavaScript by john ganales
...