Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Output control

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

In a message dated 2/18/02 6:31:24 AM, seabra at 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
>know which is) Mathematica outputs jus a "0.", and not the number. Also,
>would rather write 0.00000654 than 6.54x10^6. Is there a way to modify
>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


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