Hi!
I'm trying to pur random numbers between 1 and 6 into three label boxes:
Private Sub Command1_Click()
Label1 = Rnd * (6 - 1 + 1) + 1
Label3 = Rnd * (6 - 1 + 1) + 1
Label2 = Rnd * (6 - 1 + 1) + 1
the problem is the number come out like: 1,33233or 6,43344
how can I change this to make the numbers just 1 or 4,etc.?
Thanks!