Newbie Question on integers
Posted: Thu Apr 29, 2004 4:48 pm
When I do this:
int iRandomInteger
iRandomInteger=49
Lotto.textNumber=(rand(iRandomInteger)+1)
I get a random float number (ie 28.549140) instead of an integer result.
What am doing wrong? TIA
int iRandomInteger
iRandomInteger=49
Lotto.textNumber=(rand(iRandomInteger)+1)
I get a random float number (ie 28.549140) instead of an integer result.
What am doing wrong? TIA