MathGroup Archive 2002

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

Search the Archive

RE: Problem with Precision?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34451] RE: [mg34447] Problem with Precision?
  • From: "Florian Jaccard" <jaccardf at eicn.ch>
  • Date: Wed, 22 May 2002 02:46:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Use :

NumberForm[1.602176462,10]

to see the 10 digits.

(Using InputForm, you'll see that Mathematica kept all the digits you wanted
like you've done it)

If you want to see automatically always 10 significant digits in your
Notebook, type :

$PrePrint=(NumberForm[#,10])&


Meilleures salutations

Florian Jaccard
e-mail : jaccardf at eicn.ch


-----Message d'origine-----
De : Mike [mailto:M.P.Croucher at sheffield.ac.uk]
Envoyé : mar., 21. mai 2002 09:36
À : mathgroup at smc.vnet.net
Objet : [mg34447] Problem with Precision?


Can anyone shed any light on why

N[1.602176462,10]

gives

1.60218

I need it to be as accurate as I can get it and 5 dp doesn't cut it.  Any
ideas?

Thanks

Mike




  • Prev by Date: Exponential forms and substitution
  • Next by Date: simple program: help, please!
  • Previous by thread: Re: Problem with Precision?
  • Next by thread: RE: Problem with Precision?