A89: Re: Random number
[Prev][Next][Index][Thread]
A89: Re: Random number
If you want a number between 5 and 10 then you'd go:
(RandNum from 0 to 5) + 5
Get it? If you want a max of 10 and a min of 5, don't specify 10 as the
max. Put 5 as the max and just add 5 to the result.
If you wanted a number between 30 and 40 then you'd go:
(RandNum from 0 to 10) + 30
Hope this makes sense.
-Justin Karneges [Infiniti]
>does anyone know how to generate a random number btw two numbers.
>
>the randnumber in the userlib wont work because it only has an upper limit
>no minimum
>
>thanks
Follow-Ups: