V
V Power
Hi,
I have just been putting together a random number
generator to practice with VB .NET. The Rnd command on its
own works fine, however as soon as I add = 10 to the
string I get a return value of false. If i use the string
CStr(Int(Rnd() = 10)) I get a return value of 0.
What am I doing wrong - because the debugger seems to
think everything is fine.
Kind regards
Vicky
I have just been putting together a random number
generator to practice with VB .NET. The Rnd command on its
own works fine, however as soon as I add = 10 to the
string I get a return value of false. If i use the string
CStr(Int(Rnd() = 10)) I get a return value of 0.
What am I doing wrong - because the debugger seems to
think everything is fine.
Kind regards
Vicky