This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Writing a text file


Samuele Zampini wrote:
Dear friends,

I have a problem when I wanna write a file containing number with a
great exponent (bigger that 99).
In this case, in fact, it doesn't write the E (i.e. I got .0023432-234
instead of .0023432E-234).

So, I do have problems with plotter programs.

Try increasing the width of the format, i.e. the line below.


1000 FORMAT (2(e13.6,1x))



-- Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]