Solved

Case Based Critical Thinking Case 13-2 Lisa Can Control the Number

Question 78

Multiple Choice

Case based critical thinking Case 13-2 Lisa can control the number of digits displayed by the browser using the toFixed() method. However, since the toFixed() method is limited to only defining the decimal place accuracy, she wants to use a method that gives her more control over the numeric format, such as formatting numbers as currency or separating thousands with the comma symbol. Which of the following methods should Lisa use to format the numbers as currency?


A) currency: code
B) toLocaleString()
C) useGroup: Boolean
D) element.oninput

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions