MathGroup Archive 2002

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

Search the Archive

Re: Output control

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32910] Re: [mg32898] Output control
  • From: BobHanlon at aol.com
  • Date: Tue, 19 Feb 2002 02:29:41 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2/18/02 6:31:24 AM, seabra at ksu.edu writes:

>    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?
>

$Post = (# /. x_/; x <= 0.01 :> ScientificForm[x])&;

To clear this, use

$Post=.


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Position within a list
  • Next by Date: RE: partial fraction
  • Previous by thread: Output control
  • Next by thread: RE: Output control