MathGroup Archive 2010

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

Search the Archive

ScientificForm[], formating question

  • To: mathgroup at
  • Subject: [mg112840] ScientificForm[], formating question
  • From: "Nasser M. Abbasi" <nma at>
  • Date: Sun, 3 Oct 2010 03:37:26 -0400 (EDT)

Mathematica experts:

I can't get ScientificForm[] to always show 4 digits to the right of
the decimal point.


n  = 0.087540;
m = 0.087549;

ScientificForm[Column[{n, m}], 5,  NumberFormat -> (Row[{#1, "E", #3}]

This prints like this:


Which is correct, but I want it to display as


So that all numbers in the table has the same number of digits. so
'nicer' to look at.

The problem in this example, n has a zero at the last position, and so
is not shown (correctly), but I want 4 digits there.

I looked at all the options for ScientificForm and do not see how to
do it.


  • Prev by Date: Re: Question on Solve
  • Next by Date: How to apply a list of functions?
  • Previous by thread: Re: Question on Solve
  • Next by thread: Re: ScientificForm[], formating question