In Fortran 95, I am trying to use the scaling factor kP as described in http://search.cpan.org/~itub/Fortran-Format-0.90/Format.pm
I am using Fortran 95 with G95. I have pasted a snippet of my code below. I just need to know how to modify the format string to make it so it prints, for example, 1.7278612E+20 and not 0.1727861E+21
I always want the first significant digit to be the only digit before the decimal.
No, I'm not using Matlab, but there is no Fortran group.
& " for E =",ENERGY_TAB(J),"[J]"