MathGroup Archive 2001

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

Search the Archive

RE: output precision

  • To: mathgroup at
  • Subject: [mg26571] RE: [mg26553] output precision
  • From: "David Park" <djmp at>
  • Date: Fri, 5 Jan 2001 22:23:05 -0500 (EST)
  • Sender: owner-wri-mathgroup at


Mathematica normally displays 6 digits for approximate numbers. To change
this for individual cases use NumberForm to obtain the print precision you

39.78 9.37
NumberForm[%, 8]

The result will be in machine precision no matter the number of digits

If you want a permanent change in the number of digits displayed, open the
Options Inspector, set the scope to notebook or global and go to Formatting
Options/ Expression Formatting/ Display Options/ Print Precision and change
the number of digits you want displayed.

If you are concerned about precision in your calculations study Section 3.1
Numbers in the Mathematica Book.

And remember that N has nothing to do with display precision, it only
converts exact numbers to approximate numbers.

David Park
djmp at

> From: Peter Klamser [mailto:klamser at]
To: mathgroup at
> Hi, a trivial problem:
> 39.78 9.37=372.7386
> Mathematica says:
> 39.78 9.37=372.739
> How can I make Mathematica output the prescise result?
> Regrads, peter Klamser

  • Prev by Date: Re: Transparent Layering w/ Solids
  • Next by Date: Random Sampling Without Replacement?
  • Previous by thread: Re: output precision
  • Next by thread: what is too large for mathematica ?