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