MathGroup Archive 2002

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

Search the Archive

RE: Output control

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32922] RE: [mg32898] Output control
  • From: David.Annetts at csiro.au
  • Date: Tue, 19 Feb 2002 02:30:12 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Gustavo 
>     I'm trying to control a basic output in Mathematica, but 
> with little
> luck. Whenever I get a number smaller than a certain 
> threshold (that I don't
> know which is) Mathematica outputs jus a "0.", and not the 
> number. Also, it
> would rather write 0.00000654 than 6.54x10^6. Is there a way 
> to modify the
> default styles in Mathematica to:
>     1) Actually write a number of the kind 6.5435 x 10^-19
>     2) make it give all results smaller than a certain threshold (say,
> 10^-1) in scientific notation?

It's controlled via ExponentFunction which can be an argument to most of the
NumberForms.  It's explained in Section 2.8.7 of the Bible.

Regards,

Dave.
--------------------------------------------------------
  Dr. David Annetts             EM Modelling Analyst
  Tel: (+612) 9490 5416         CSIRO DEM, North Ryde
  Fax: (+612) 9490 5467         David.Annetts at csiro.au
                 Include "usual_disclaimers"
--------------------------------------------------------


  • Prev by Date: Re: creating packages[2]
  • Next by Date: RE: A Learning TableForm Problem
  • Previous by thread: Re: Output control
  • Next by thread: RE: Output control