If you are using integers, use the "mod" function, as in
if (a mod b) = 0 then
-- divisible
else
-- not evenly divisible
end if
Irv
At 12:50 PM -0400 7/16/01, Bill Numerick wrote:
>Hey All,
>
>How can I find out if something is divisable by a certain number?
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
- <lingo-l> Finding If Something is divisible by a n... Bill Numerick
- Re: <lingo-l> Finding If Something is divisib... Irv Kalb
- Re: <lingo-l> Finding If Something is div... Buzz Kettles
- Re: <lingo-l> Finding If Something is divisib... Tab Julius
- Re: <lingo-l> Finding If Something is divisib... R. Bhakti Klein
- Re: <lingo-l> Finding If Something is div... Colin Holgate
- Re: <lingo-l> Finding If Something is... R. Bhakti Klein
- Re: <lingo-l> Finding If Somethin... Colin Holgate
- Re: <lingo-l> Finding If Som... R. Bhakti Klein
- Re: <lingo-l> Finding If... Jakob Hede Madsen
- Re: <lingo-l> Findin... Colin Holgate
- Re: <lingo-l> Findin... Jakob Hede Madsen
