Sometimes you will have to play with numbers, BIG numbers… Or teeny-tiny ones! To avoid having too many zeros you can use the SI prefixes (like metric units: mm, cm, m, km, …).

Here are the results of our code:

And here is the helper:

Now if you need to specify the decimal separator as a dot or as a coma, please have a look at this article.

Happy coding^9 !  😉