
-----------------------------------
lurtz
Sat Feb 15, 2003 1:57 pm

if statement
-----------------------------------
is it possible to say that if the product of a math function, like 3 div 2, is a real number to do something.

thanks

-----------------------------------
Tony
Sat Feb 15, 2003 2:18 pm


-----------------------------------
you can use mod to see if there's a remainder. If remainder of a division is not 0, then the result would be a floating point number (decimals)


if (3 mod 2) not=0 then
put "3 / 2 will produce a floating point result"
end if

