mirror of
https://github.com/codeninjasuk/gdp.git
synced 2024-11-22 15:18:05 -05:00
Update miscellaneous.html
This commit is contained in:
parent
de5ac13e3f
commit
643db085bd
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
||||||
<a name="random">
|
<a name="random">
|
||||||
<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 random = 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 'random' to a random number between 1 and 100</code></pre>
|
||||||
<h4>See Further:</h4>
|
<h4>See Further:</h4>
|
||||||
<ol class="more">
|
<ol class="more">
|
||||||
|
|
Loading…
Reference in a new issue