MathGroup Archive 2004

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

Search the Archive

Re: Print with limited precision

  • To: mathgroup at
  • Subject: [mg51131] Re: Print with limited precision
  • From: Paul Abbott <paul at>
  • Date: Tue, 5 Oct 2004 04:37:32 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <cjr9ah$osj$>
  • Sender: owner-wri-mathgroup at

In article <cjr9ah$osj$1 at>,
 Steve Gray <stevebg at> wrote:

> There must be some built-in function to print out decimal quantities with say
> 2 digits of precision to the right of the point. I want quantities such
> as zz= -27.9873554 to print as -27.99, etc., but keeping the real precision
> internally. I could write one easily enough but I would think there is
> already such a thing. This seems trivial but I can't find how to do it in 
> Help, etc.

This is a FAQ. Look up PrintPrecision at

One of the matches there says:

This is controlled by the PrintPrecision display option. You can control 
this as follows:

[1] Open the Option Inspector (Format menu | Option Inspector...)

[2] Show the Option values for Notebook (or Global)

[3] Type in PrintPrecision

[4] Set this to however many digits you want to display.


Paul Abbott                                   Phone: +61 8 6488 2734
School of Physics, M013                         Fax: +61 8 6488 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at 

  • Prev by Date: Re: Limit problem
  • Next by Date: Re: Re: Root function
  • Previous by thread: Re: Print with limited precision
  • Next by thread: Sterographic plotting program