Re: Get rounds values in alist
- To: mathgroup at smc.vnet.net
- Subject: [mg43988] Re: Get rounds values in alist
- From: Bill Rowe <readnewscix at mail.earthlink.net>
- Date: Thu, 16 Oct 2003 04:17:00 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 10/15/03 at 4:59 AM, oliver.friedrich at tzm.de (Oliver Friedrich) wrote: > I have written a file "values.txt" with the text editor. > The file content is > { > {{11735.72,11759.37,11711.12} ,,, > Reading this file into Mathematica usin Get[] returns a list > {{{11735.7, 11759.4, 11711.1}... > So Get rounds the value 11735.72 from the original text file to 11735.7 in > the list and so on. How can I avoid this and get in the full precision? I think you will find what is happening is Mathematica *displays* the first number as 11735.7 but does retain full precision. You can verify this with by subtracting 11735 from the first number. You should see 0.72 not 0.7 -- To reply via email subtract one hundred and nine