Hi all
I am trying to write a bunch of exponential numbers to a file. I can easily change the overall size using setw(x) and setprecision(x) to set the precision. However what I want to do is define how large the exponent is. For example, in my code it outputs an exponential number as 1.2334e+030 - what I want is to output this number as 1.2334e+30. Does anyone have any suggestions?

thanks
Robbie