mirror of
https://github.com/codeninjasuk/gdp.git
synced 2024-11-25 16:47:56 -05:00
Update miscellaneous.html
This commit is contained in:
parent
643db085bd
commit
22d9606229
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
<h3>random()</h3>
|
<h3>random()</h3>
|
||||||
<p>The function random will return a random number within a range. The function takes in two parameters. The first number in the range, and the final number in the range.</p>
|
<p>The function random will return a random number within a range. The function takes in two parameters. The first number in the range, and the final number in the range.</p>
|
||||||
<pre><code>var x = random(1,100)
|
<pre><code>var x = random(1,100)
|
||||||
//sets variable 'random' to a random number between 1 and 100</code></pre>
|
//sets variable 'x' to a random number between 1 and 100</code></pre>
|
||||||
<h4>See Further:</h4>
|
<h4>See Further:</h4>
|
||||||
<ol class="more">
|
<ol class="more">
|
||||||
<li>Rain Catcher Part 3</li>
|
<li>Rain Catcher Part 3</li>
|
||||||
|
|
Loading…
Reference in a new issue