Re: recognizing numbers


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

Re: recognizing numbers



On Tue, 12 May 1998 20:27:11 EDT, BHegge7615 <BHegge7615@AOL.COM> wrote:

>Is it possible for A TI-83 to recognize numbers which are whole numbers?
>For example:
>
>lbl 1
>randint(1, 1000)/3 -> A
>If A=(a whole number)
>then
>end
>else
>goto 1

You mean you want to check if one third of your random number is an integer?
Do this:
:If fPart A=0
:then

Or simply
:randint(1,333)->A