read or write "how to convert integer to string?"
- From: Mike <SulfateIon@xxxxxxxxx>
- Date: Thu, 06 Sep 2007 05:19:51 -0700
Hi
In "how to convert integer to string?"
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/264b2b4d7db5ae60/0971ac981a60aa84?lnk=gst&q=convert+integer+to+string&rnum=1#0971ac981a60aa84
One uses
============
character(len=20)::MyStr
integer::i
i=10
write(MyStr,'(i5.5)') i
============
I don't understand.
Why don't we use "read(MyStr,'(i5.5)') i "?
Mike
.
- Follow-Ups:
- Re: read or write "how to convert integer to string?"
- From: Gordon Sande
- Re: read or write "how to convert integer to string?"
- From: Dan Nagle
- Re: read or write "how to convert integer to string?"
- Prev by Date: Old topic! When first F2003 compiler?
- Next by Date: Re: read or write "how to convert integer to string?"
- Previous by thread: Old topic! When first F2003 compiler?
- Next by thread: Re: read or write "how to convert integer to string?"
- Index(es):