MathGroup Archive 2006

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

Search the Archive

Re: Displaying decimals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63485] Re: [mg63476] Displaying decimals
  • From: <bsyehuda at gmail.com>
  • Date: Tue, 3 Jan 2006 01:24:37 -0500 (EST)
  • References: <200601021049.FAA01344@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi
slope[50] stores more digits then is represented
FullForm[slope[50]]
returns
163.189230604459`
If you want to display more digits you may use NumberForm
NumberForm[slope[50],Infinity]
returns
163.189230604459
look at the help for more advanced options of the NumberForm function
yehuda



On 1/2/06, 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.
>
> Many thanks for your attention.
>
> Lea Rebanks.
>
>



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