in JavaScript by
Q:
Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?

a) toExponential()

b) toFixed()

c) toPrecision()

d) toLocaleString()

1 Answer

0 votes
by

Answer: B

Reason: The "tofixed()" method formats the given number with a specific number of digits to the right of the decimal.

Related questions

0 votes
asked Mar 20 in JavaScript by sharadyadav1986
0 votes
asked Mar 23 in JavaScript by sharadyadav1986
...