2013-05-13 15:25:24 +02:00
|
|
|
<h3>randf() function</h3>
|
2013-05-11 19:12:49 +10:00
|
|
|
Returns a random float within the range specified by the minimum and
|
|
|
|
maximum argument (inclusive).
|
|
|
|
<br>
|
|
|
|
This function takes two arguments.
|
|
|
|
<h4>Syntax</h4>
|
|
|
|
<code>randf(min, max)</code><br>
|
|
|
|
|
|
|
|
<h4>Arguments</h4>
|
|
|
|
<code>min</code> - a float representing the smallest possible random number desired.<br>
|
|
|
|
<code>max</code> - a float representing the largest possible random number desired.
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<h4>Example</h4>
|
|
|
|
<!-- Show example of function.-->
|
|
|
|
<code>randf(1, 10) → 4.59258286403147</code><br>
|