In my program big numbers is shown off and for this reason I want any number to be converted to power of 10 (E-notation). I tried an idea that came to my mind but I get an error that says:
OverflowError: cannot convert float infinity to integer
How I succeed that I want?