Hi all,
I want to output numbers in scientific notation eg 1.2345E-06, but I want the number to start with "0." eg 0.12345E-05.
I cannot find any option for the format specifier and all I can think of is to convert the first part to string (eg 1.2345), add a "0." on the printf statement, and then add 1 (integer) to the second part after the E (eg -06+1).
This is far from elegant way of doing this, so do you have any recomendations on any other way?
Thanks
Spiros