Is there a way to print a number, lets say 5e-2, with a specific scieintific notation exponent? For example, I'd like it to print with e-4, so the desired output would be 500e-4. I tried looking on how to do this with printf with no luck.
ysth gave me this great solution: