MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Reading Fortran Data file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100301] Reading Fortran Data file
  • From: christopher pike <mojoflowstudio at gmail.com>
  • Date: Sun, 31 May 2009 06:36:17 -0400 (EDT)

Hi,
  Have data fortran data file with numbers like 0.447562485933D-01.  I
need all the digits, but mathematica seems to only read this as
0.0448062.
  I can read it as a string and get

    "0.448062494397D-01"

but when I use ToExpression, I get

   -1 + 0.448062 D

So how can I read in all the digits.

thanks for any help, chris


  • Prev by Date: Re: "move cursor out of formula by one level"
  • Next by Date: two questions
  • Previous by thread: Better version of V3 of Mathematica Book?
  • Next by thread: two questions