MathGroup Archive 2002

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

Search the Archive

readin numbers from a file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34471] readin numbers from a file
  • From: "A.M." <moreno at alumnos.uva.es>
  • Date: Thu, 23 May 2002 03:32:10 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi everybody,
I'm starting to work with mathematica and i have any problems:
I have to read numbers from a text file containing numbers and words.
I want to transform a string to a number,and i'm using ToExpression but
the problem is that numbers as a string are in format "0.23E+02" and
mathematica transforms as (0.23*E)+2 with E=2.71828 but I want it to be
23.
Anybody kows how i coul do that?
thanks





  • Prev by Date: Options
  • Next by Date: RE: generating random number
  • Previous by thread: RE: RE: Options
  • Next by thread: Re: readin numbers from a file