Update miscellaneous.html

This commit is contained in:
randomKeyss 2021-05-25 18:32:02 -05:00 committed by GitHub
parent de5ac13e3f
commit 643db085bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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">