MathGroup Archive 1999

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

Search the Archive

Re: ask for help on Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17591] Re: ask for help on Mathematica
  • From: "Neal E. Tornberg" <neal.e.tornberg at boeing.com>
  • Date: Mon, 17 May 1999 02:14:35 -0400
  • Organization: Boeing
  • References: <7hge3t$4d4@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Look at the online documentation for NumberForm[expr,n] and one of its
options, NumberFormat.  They can be made to meet your basic needs here.

Ming Huang wrote:
> 
> Hi,
> 
> Could someone tell me how to use Mathematica to write into
> a file the numerical numbers of 5 columns of variables, as follows?
> 
> What I need is to be able to format the numerical output to be of,
> say, 8 digits for each number (the FortranForm gives too many digits).
> It is very easy to do this kind of things in Fortran or C,
> but I couldn't find a simple way to do it in Mathematica,
> after searching through the Mathematica Book for a long time.
> 
> Please reply to my email address at
> 
> mhuang at leland.stanford.edu
> 
> Thanks for your help!
> 
> Ming
> 
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111
> 0.1     1.111111    1.11111     1.11111   1.11111

-- 
Neal E. Tornberg
neal.e.tornberg at boeing.com

Nobody here thinks I speak for Boeing.
You shouldn't either.



  • Prev by Date: Re: Function evaluation
  • Next by Date: RE: Help! How to execute line integral, surface integral or integration around contour.
  • Previous by thread: Re: ask for help on Mathematica
  • Next by thread: Function evaluation