Re: Displaying decimals
- To: mathgroup at smc.vnet.net
- Subject: [mg63672] Re: Displaying decimals
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Mon, 9 Jan 2006 04:49:16 -0500 (EST)
- Organization: The University of Western Australia
- References: <dpb0q8$1ph$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <dpb0q8$1ph$1 at smc.vnet.net>, "Lea Rebanks" <lrebanks at netvigator.com> wrote: > Given the enclosed function, I can not make Mathematica v5.1 display > greater than 3 decimals. Please help. > > slope[x_]:=160.245051009838+0.05888359189242*x > > EG. slope[50] = 163.189 > > I don't know how or why this is happening. I have tried N[expr,20] to > no avail. Others have provided solutions to this problem -- but, essentially, what you want to do is by default display more digits. Changing the PrintPrecision option using the Option Inspector, you can display more digits for all computations. Cheers, Paul _______________________________________________________________________ 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) AUSTRALIA http://physics.uwa.edu.au/~paul