Rand
A method used to generate a random number. Use Srand to initialize the random algorithm seed.
Signature
Rand() : Real
Example
// Generating a random number between 0 and 1 let myRandomInteger(Integer) let d(Date) let i(Integer) Let sDate(String) let randomNumber(Integer) // Initializing the random seed with the current date sDate = DateFormat("%H%M%S", BuildDate()) i = sDate->ToReal(): Integer SRand(i) randomNumber = Rand()*11