random() question
#1

Hello. I've got a question about the random() function.

If I have this:
Код:
new randomnumber = random(1, 4)
Does this mean "randomnumber" has the possibility to be either 1, 2, 3 or 4?
Or does it mean it has the possibility to be 2, 3, 4 or whatever? Thanks in advance
Reply


Messages In This Thread
random() question - by Gazzy - 02.01.2016, 18:36
Re: random() question - by Sebz - 02.01.2016, 18:49
Re: random() question - by J4Rr3x - 02.01.2016, 18:52
Re: random() question - by SickAttack - 02.01.2016, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)