Generating random number between a range

So, might be old trick but I find it useful to record here:

Min + (int)(Math.random() * ((Max - Min) + 1))