Randomnumber Function

Next: , Previous: Pow, Index: Index

This randomnumber[n,x] function will retun a random number between n and x.

Pass: Two integers defining the bounds of the random number
Returns: A Float representing the random number

Note: A whole number will be returned UNLESS you pass the bounds of 0,1 and in this case a decimal number is found.

Examples

var a:=randomnumber[10,20];
var b:=randomnumber[0,1]

In this case, a is a whole number between 10 and 20, whereas b is a decimal number

Last Modified: August 2008