Re: Export Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg7382] Re: [mg7317] Export Numbers
- From: David Withoff <withoff>
- Date: Fri, 30 May 1997 01:19:24 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
> Dear Mathgroup, > can someone let me know how to flatten exponents in numbers when > exporting them to an ASCII file? > For example: I want 9.2 * 10^-6 to be > > 0.0000092 in my file > > instead of > -6 > 9.2 10 > > the way that it looks like at the moment. > > Thanks in advance, > Peter Here is one possibility: In[1]:= NumberForm[9.2 * 10^-6, ExponentFunction -> (Null &)] Out[1]//NumberForm= 0.0000092 This is one way to display numbers without using exponents. If this isn't what you had in mind, I recommend looking at functions like NumberForm, ScientificForm, etc., and the options to those functions. Dave Withoff Wolfram Research