Why is toFixed() not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
2nd May 2023, 8:11 PM
Lego in Motion
Lego in Motion - avatar
3 Answers
+ 5
"ask" is a string, you need to convert it to a numeric type.
2nd May 2023, 8:14 PM
Lisa
Lisa - avatar
+ 3
Oh of course! Thank you!
2nd May 2023, 8:18 PM
Lego in Motion
Lego in Motion - avatar
0
Lego in Motion your code still is not working properly. See the comment section in your code bit.
3rd May 2023, 11:20 AM
Bob_Li
Bob_Li - avatar