Hi. This one is weird, unless there's something I've missed somewhere.
I have this code:
cfset pass = randrange(1736483927,9039930393)
It returned this number:
1430463369
Shouldn't the number returned always be in the range specified? Is
there a limit as to the size of the number this works
I have this code:
cfset pass = randrange(1736483927,9039930393)
It returned this number:
1430463369
Shouldn't the number returned always be in the range specified? Is
there a limit as to the size of the number this works on or something?
Integers in CF are limited to 32 bit numbers
On 8/11/00, Seth Petry-Johnson penned:
I wrote a little test. I ran a loop 1000 times, each iteration generating a
random number using the randRange() parameters you mentioned above. On 5
separate page loads, ALL 1000 numbers were less than 1,736,483,927. If I
dropped the second parameter to a
3 matches
Mail list logo