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()
Answer:A
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()