Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfscript>
- num1 = 999999;
- num2 = 100000;
- randAlgorithmArray = ["CFMX_COMPAT", "SHA1PRNG", "IBMSecureRandom"];
- for(index = 1; index <= arrayLen(randAlgorithmArray); index++)
- {
- WriteOutput("The rand number in the range #num1# to #num2# using #randAlgorithmArray[index]# is: "
- & randRange(num1, num2, randAlgorithmArray[index]) & "<br/>");
- }
- </cfscript>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement