[FR] Improve documentation of Random::nextInt()

This is really minor thing but the documentation for juce::Random::nextInt() says how it returns

a random integer from the full range 0x80000000 to 0x7fffffff

I had to stop and count the number of 0’s and the number of f’s in each of those numbers as it wasn’t immediately obvious that what this means is that it returns a random number from -2,147,483,648 to +2,147,483,647.

You can also use a Range:

const int iRand = randomGen.nextInt (Range<int>(1, 501));

for a number from 1 to 500

Rail

Thanks, but I do want a number from -2,147,483,648 to +2,147,483,647 which is why I used the version of nextInt() that takes no args - it’s just the docs are a little confusing and could be improved IMO.