Difference between revisions of "GetRandomPercent"

5 bytes removed ,  14:12, 25 February 2011
no edit summary
imported>Scallywag38
imported>JOG
Line 15: Line 15:
*To generate a random number between min and max:  
*To generate a random number between min and max:  


<pre>set randVal to min + GetRandomPercent * (max-min) / 99</pre>
<pre>set randVal to min + GetRandomPercent * max / 100</pre>


==See Also==
==See Also==
Anonymous user