> Anybody have any idea how I can make a program generate random numbers
> between 30 and 30,000, but so that "most" of the numbers generated are
> actually in the range 100 - 400?
#if( rand(s1) < 0.1 )
#local N = rand(s1) * 29970 + 30;
#else
#local N = rand(s1) * 300 + 100;
#end
Post a reply to this message
|