I'm calculating FX rates in Python.
Doing a really simple calculation of rate = currency_1_rate/currency_2_rate (where rates for both currencies are just a decimal number), which is returning a rate in scientific notation with a lower case 'e'.
For example IDR to USD rate is being returned as: 6.87758e-05
Is there a way to get python to output these numbers/rates using a capital E for the scientific notation instead? There are processes further down the line that might not accept this lower case 'e' notation.
I am doing a pandas to_csv with these rates, so ideally don't to be converting to a string then back to a number.