Re: Reading Fortran Data file
- To: mathgroup at smc.vnet.net
- Subject: [mg100360] Re: Reading Fortran Data file
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 1 Jun 2009 07:13:36 -0400 (EDT)
- References: <gvtmic$gho$1@smc.vnet.net>
Hi, ImportString["0.448062494397D-01", "List"] ? Regards Jens christopher pike wrote: > 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 >
- Follow-Ups:
- Re: Re: Reading Fortran Data file
- From: "Scot Martin" <smartin@seas.harvard.edu>
- Re: Re: Reading Fortran Data file