Re: How export the 0<x<10^-6 numbers to a text file correctly
- To: mathgroup at smc.vnet.net
- Subject: [mg17] Re: How export the 0<x<10^-6 numbers to a text file correctly
- From: kim <levcekslo at gmail.com>
- Date: Sun, 25 May 2008 02:02:30 -0400 (EDT)
- References: <g18hq2$khf$1@smc.vnet.net>
On 24 maj, 09:57, "P.Wholey" <p.who... at gmail.com> wrote:
> Hi, friends. I have a lot of POSTIVE numbers which should be exported
> to a text file. Some of them are in the range of <10^-6 even <10^-8.
> The mathematica always export these numbers in scientificform
> automatically, but I need a pure number. Any ideas to solve this
> problem? Many thanks in advance!
N[Range[10^-8, 10^-6, 9 10^-8]]
{1.*10^-8, 1.*10^-7, 1.9*10^-7, 2.8*10^-7, 3.7*10^-7, 4.6*10^-7,
5.5*10^-7, 6.4*10^-7, 7.3*10^-7, 8.2*10^-7, 9.1*10^-7, 1.*10^-6}
ToString[NumberForm[%, ExponentFunction -> (Null &)]]
{0.00000001, 0.0000001, 0.00000019, 0.00000028, 0.00000037,
0.00000046, 0.00000055, 0.00000064, 0.00000073, 0.00000082,
0.00000091, 0.000001}
Export["test.txt", %]
test.txt
Kim