Hello
Is there something like this: randRange(0,6) which would return values between 0 to 6?
I know I can do 'rand()*6' but curious if that function exists.
Thanks!
JZ
Random with Range
Re: Random with Range
No there is no such built in function...
And in case you want integers between 0 and 6 then you ll go:
decl val=round(rand()*6);
And in case you want integers between 0 and 6 then you ll go:
decl val=round(rand()*6);
Re: Random with Range
Thanks for the response Softcore.
-j
-j