Last active
August 29, 2015 14:04
-
-
Save ryanguill/2173bc74fac85bb323f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- works properly ---> | |
| <cfdump var="randRange(0,2^31-2): #randRange(0,2^31-2)#"/><br /> | |
| <!--- returns a negative number every time ---> | |
| <cfdump var="randRange(0,2^31-1): #randRange(0,2^31-1)#"/><br /> | |
| <!--- The following line errors (expectedly) with | |
| Parameter validation error for the RANDRANGE function. | |
| The value of parameter 2, which is currently 2147483648, must be a int value. ---> | |
| <!--- <cfset x = randRange(0,2^31) /> ---> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment