Whatever message this page gives is out now! Go check it out!
Randomize(number[, algorithm])Parameter | Description |
number | Integer number. If the number is not in the range -2,147,483,648 -2,147,483,647, ColdFusion generates an error. |
algorithm | (Optional) The algorithm to use to generate the seed number. ColdFusion installs a cryptography library with the following algorithms:
|
<cfset randomize(12345)> <!--- if one was to remove this line, the random numbers are different every time --->
<cfloop index="i" from="1" to="10">
<cfoutput>#rand()#</cfoutput><br>
</cfloop>