Hi,
I'm doing Ok so far with DB - very easy to get to grips with. However, I am having a problem with real numbers.
I want to compare the a real number with an INTeger and do something if they match. That is, do something every 100th cycle (see the code). However, my real number has no decimal places...
For y = 1 to 3000
x# = y / 100
if x# = INT(x#) then ...
Next y
x# never has any decimal points, and therefore the IF clause is always true. Is it because y is an integer? I would have thought the decimals are controlled by the result field, not the field you are equating.
Any help is much appreciated!
Thanks in advance,
StevieVee