MathGroup Archive 2006

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

Search the Archive

Re: Displaying decimals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63502] Re: [mg63476] Displaying decimals
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 3 Jan 2006 01:25:22 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

slope[x_]:=160.245051009838+0.05888359189242*x;

slope[50]//InputForm

163.189230604459

Table[NumberForm[slope[50],n],{n,11,15}]

{163.1892306,163.189230604,163.1892306045,163.18923060446,163.189
230604459}


Bob Hanlon

> 
> From: "Lea Rebanks" <lrebanks at netvigator.com>
To: mathgroup at smc.vnet.net
> Date: 2006/01/02 Mon AM 05:49:09 EST
> Subject: [mg63502] [mg63476] Displaying decimals
> 
> 
> 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.
>  
> Many thanks for your attention.
>  
> Lea Rebanks.
> 
> 


  • Prev by Date: Re: List Manipulation
  • Next by Date: Re: Displaying decimals
  • Previous by thread: Re: Displaying decimals
  • Next by thread: Re: Displaying decimals