Lucee Function Reference

randomize()

Seeds the pseudo-random number generator with an
integer number, ensuring repeatable number patterns.

Example

randomize(number number,[string algorithm]):number

Category

number

Arguments

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