Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Saving numerical values as text' topicStudent Support Forum > General > "Saving numerical values as text"

Next Comment >Help | Reply To Topic
Author Comment/Response
Fabrice P. Laussy
04/09/00 1:54pm

If you do, say,

18.2 >> file

`file' will contain 18.19999999999999 (because .2 can't be encoded with a finite string of binary values, but that's not the problem). How can you make Mathematica export text, not the numerical value of the symbol you export, that is, how can I make `file' contain 18.2?

Thanks.

URL: ,

Subject (listing for 'Saving numerical values as text')
Author Date Posted
Saving numerical values as text Fabrice P. L... 04/09/00 1:54pm
Re: Saving numerical values as text Forum Modera... 04/09/00 1:56pm
Next Comment >Help | Reply To Topic