MathGroup Archive 2007

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

Search the Archive

Re: Updating NumberPadding?

  • To: mathgroup at
  • Subject: [mg84388] Re: Updating NumberPadding?
  • From: "David Park" <djmpark at>
  • Date: Fri, 21 Dec 2007 03:17:46 -0500 (EST)
  • References: <> <fk7si4$rl8$> <fkao5l$dp7$> <fkcte4$1sf$>

But suppose one has a single number that is displayed dynamically and one 
doesn't want it to jump around with successive displays in time? That is the 
situation I have.

David Park
djmpark at

"Albert Retey" <awnl at> wrote in message 
news:fkcte4$1sf$1 at
> Kevin J. McCann wrote:
>> Carl,
>> If you raise Pi to zero or a negative power of ten, your last form below
>> does not work correctly, i.e. N[Pi]10^-1 produces 0.31x10.
>> I agree with David that it would be REALLY nice if WRI made it easier
>> for us to produce nice columnar data. I know it is not easy, as the
>> examples below show. I know from my FORTRAN days that a lot of CPU
>> cycles were used on formatted input and output. Still, it would be nice.
> Isn't this better addressed with using Grid and an explicit setting for
> Alignment? The following gives me something that looks good enough for me:
> Style[
>  Grid[{
>    {NumberForm[1000*N@Pi, {5, 2}]},
>    {NumberForm[N@Pi, {5, 2}]},
>    {NumberForm[N[Pi] 10^-1, {5, 2}]}
>   },
>   Alignment -> {"."}
>   ],
>  FontFamily -> "Helvetica"
>  ]
> albert

  • Prev by Date: Re: Problem with Out keeping the camera view direction
  • Next by Date: Re: Problem with labeling contour Lines
  • Previous by thread: Re: Updating NumberPadding?
  • Next by thread: Re: Updating NumberPadding?