How to convert integers to characters?
- From: hermitian <iamwuxin@xxxxxxxxx>
- Date: Sat, 29 Sep 2007 00:19:25 -0000
Is there any functions to convert integers to characters?
For example:
real::a=123.4 ! a is a real number
character(len=30)::b ! b is a character
!How can I convert a to b as a character, i.e. b would be 123.4, but b
is a character.
Moreover, is there any other functions can reverse the conversion?
i.e. from characters to numbers.
character(len=30)::b="123.4"
real::a
how can I assign 123.4 to a as a real number?
Many thanks!
.
- Follow-Ups:
- Re: How to convert integers to characters?
- From: Craig Dedo
- Re: How to convert integers to characters?
- From: Terry Duell
- Re: How to convert integers to characters?
- Prev by Date: Re: Printing of Program Name ??
- Next by Date: Re: How to convert integers to characters?
- Previous by thread: RE: Wade Ward
- Next by thread: Re: How to convert integers to characters?
- Index(es):