rnd() is a scalar arithmetic function that returns a random double number between 0 and 1.
double
Copyrnd()
Find a random number between 0 and 1.