Changes

Locomotive BASIC

3 bytes added, 10:25, 9 February 2019
/* RND [()] */
</pre>
: '''2. Example''':
: Exampel Example for generating an integer random number between 1 and 1000
<pre>
10 A=INT((RND(1)*1000)+1)
30 GOTO 10
</pre>
: : '''3. Example''' for : : For generating a random number between a lower and higher border
<pre>
10 INPUT "Low border",low
run
</pre>
 
==== <code><big>ROUND (<numeric expression>[,<integer expression>])</big></code> ====
: ''BASIC 1.0 & 1.1''
423
edits