How can I fix the way large numbers are displayed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I fix the way large numbers are displayed?

https://code.sololearn.com/Wm0CPovm9N4L/?ref=app Whenever the number is exceptionally large it displays it in a strange way. The output generally contains "e+". I think this is called "scientific notation"(I could be very wrong xD) Anyway, how can I fix this?

25th Sep 2018, 3:35 AM
Daniel Cooper
Daniel Cooper - avatar
2 Answers
25th Sep 2018, 7:58 AM
Calviղ
Calviղ - avatar
+ 1
Thanks my dude. People kept telling me about js libraries/frameworks(whatever they are lol) and I really wanted to avoid those.
25th Sep 2018, 11:13 AM
Daniel Cooper
Daniel Cooper - avatar