Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: List manipulation
  • Next by Date: Re: rules->function
  • Previous by thread: Re: Export Numbers
  • Next by thread: Line thickness for ParametricPlot3D