Re: A89: Re: Random number
[Prev][Next][Index][Thread]
Re: A89: Re: Random number
Thanks sometimes its the simple things that are right in front of you that
you never notice ;)
At 07:44 PM 3/2/99 -0800, you wrote:
>
>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
>
References: