The function generates a pseudo-random number between 0 (inclusive) and 1 (exclusive). Therefore the return value is equal to or greater than 0 and less than 1.
With the help of this function, you can generate passwords, check digits or ID numbers. You also can realize non-linear test runs or quizzes.