"E" Character Appears When I Want to Show Big Number on Currencies Converter App

I make a currencies converter app. It actually works very well when the input is a small number. But when the input is big (so the result is big too), the result has an “E” character on it.

For example, if the result should be 1500000, it shows 1.5E6. Or if the result should be 18000000, it shows 1.8E7.

I know “xEy” means “x * 10^y”. But how can I make it simple so people can easily understand the result?

I have tried to do this :point_down:, split the number at “E” to list and manually multiply the number, but the app is crashed when opened. Do you have any other solution for this problem please?

3 Likes

Woah thank you so much, it works very well!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.