Small integer question

BlitzMax Forums/BlitzMax Beginners Area/Small integer question

po(Posted 2006) [#1]
How would I detect wheather or not an integer is a whole number or a decimal number?
Like 10 instead of 10.234.


H&K(Posted 2006) [#2]
The integer IS a whole number, like 10 and thats it.


po(Posted 2006) [#3]
Oops, damn, that's not what I mean, you're right. What I meant to ask is:
How do I determine if a number divides into another number evenly or not?


H&K(Posted 2006) [#4]
If (FirstNumber Mod SecondNumber) = Zero
Then FirstNumber is divided evenly by second number


po(Posted 2006) [#5]
That's it. Thanks.