conversion from type character to type real



Hi!

I have a 10 bit .pgm-image. The header (RECL=120) is type character
and contains 2 numbers. For example -1,170460 (header(91:99)) and
0,022950 (header(107:114)). I need these 2 numbers for further
calculations so I have to read them out of the header an convert them
into type real. But an additional problem is (in my opinion), that
these numbers have a "," instead of a "." as decimal separation.
Does anyone have a good idea how to realize this problem with F90? Is
it possible with an internal read statement? (I use the Compaq Visual
Fortran 6 compiler.)
Thanks a lot for helping me!

Crissy
.



Relevant Pages

  • Re: extract of an image (array)
    ... character:: header ... Crissy ... Prev by Date: ...
    (comp.lang.fortran)
  • Re: Group Calculations and "repeat Section"
    ... There is a grup header and ... My calculations only seem ... Perhaps you could reset the values in the Footer, or only when the value on ... Query that is RecordSource for the Report, ...
    (microsoft.public.access.reports)
  • Re: Problems with multiplications of doubles and/or floats
    ... lot of calculations in it, they all work fine except the one mentioned ... //Get position of first node ... ElleNodePrevPosition(index, & prev); ...
    (comp.lang.cpp)
  • Group Calculations and "repeat Section"
    ... There is a grup header and footer. ... detail records and subsets of various criteria and calculated percentages. ... My calculations only seem ... the details contained on the last page with a group header. ...
    (microsoft.public.access.reports)
  • Re: (N+1)^N/N^N
    ... >and yet it seems to be FOUNDATIONAL in many calculations. ... David C. Ullrich ... Prev by Date: ...
    (sci.math)