
Enter the maximum value and Scratch Cat will return a random value between 0 and your value minus 1. Max should be less than 10^15. YOU NEED CLOUD VAR ACCESS FOR THIS TO WORK! MAKE SURE YOU ARE A SCRATCHER, HAVE A STRONG INTERNET CONNECTION, AND ARE LOGGED IN!
Credit to Wikipedia for the linear congruential generator.