Re: how to check whether a number is an integer?



Andre,

Put option strict on in top of your program, than it will divide only
doubles using the non integer divide.

Cor

"André" <svs@xxxxxx> schreef in bericht
news:Ou8oULe%23GHA.1172@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I need to know whether the result of a division is a integer or not.
dim x =60
dim y = 3

if x/y is a integer then
...
else
...
end if

How can i know that?
Thanks
André



.