[TIB] Re: Displaying values


[Prev][Next][Index][Thread]

[TIB] Re: Displaying values




:kuad(a,b,c)
:Prgm
:Local d
:b^2-4*a*c->d:If d<0 Then
:Disp "Non-real answer":Stop:EndIf
:Disp (-b+sqr(d))/(2*a),(b+sqr(d))/(2*a)
:EndPrgm



----- Original Message -----
From: "Robert Mohr" <rmohr@calcware.org>
To: <ti-basic@lists.ticalc.org>
Sent: Tuesday, August 27, 2002 7:39 PM
Subject: [TIB] Re: Displaying values


> Can you give us the full code of the function you're using?
>
> -------Original Message-------
>
> From: ti-basic@lists.ticalc.org
> Date: Tuesday, August 27, 2002 7:37:56 PM
> To: TI Basic
> Subject: [TIB] Displaying values
>
> On the 92+, I have a program that takes d and puts it in a formula. How
come
> it comes out "(-b-3*sqr(185))/(2*a)" like I put it in, instead of (ex.) 54
> 222343576. ???
>
>
>
> .
>
>




Follow-Ups: References: