Railo 4.2 Reference
Choose a function:

Function RAND

Generates a pseudo-random number in the range 0 - 1.


rand([string algorithm]):number


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
algorithm string  No The algorithm to use to generate the random number.