Rand()
Generates a pseudo-random number in the range 0 - 1.
Rand( algorithm=string );
Returns: Number
Examples
writeDump(rand() GTE 0 and rand() LTE 1);
writeDump(rand("SHA1PRNG") GTE 0 and rand() LTE 1);
See also
- Numbers
- Randomize()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)