[TIB] Re: Integral Variables...


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

[TIB] Re: Integral Variables...



Have you tried in the prgm setting the float to 0 so it cant  be a
decimal?

-----Original Message-----
From: ti-basic-bounce@lists.ticalc.org
[mailto:ti-basic-bounce@lists.ticalc.org] On Behalf Of Robert Mohr
Sent: Tuesday, April 08, 2003 7:05 PM
To: ti-basic@lists.ticalc.org
Subject: [TIB] Re: Integral Variables...

There isn't a way in BASIC to do only integer math, except by using 
int(), which doesn't help you much.  Look at http://tigcc.ticalc.org/

Eric Peterson wrote:
> TI-89 question.  And, if it's relevant, I have AMS 2.08 up and running
on my
> calculator.
> 
> I would like to force several of my variables into being
integers...under
> BASIC.  Why?  Because floating point calcs are nasty and long when
you're
> working purely with integers.  Does anyone know of a way to accomplish
this?
> 
> Hopefully,
>     Eric
> 
> 
> 
> 

-- 
Robert Mohr
mohr.42@osu.edu
mohrr@cis.ohio-state.edu





Follow-Ups: References: