1 2 3
public static long randomNumber(int min, int max) { return Math.round((Math.random() * (max - min)) + min); }
Java Get a random number within ...
by diskostu,
October 01, 2007 00:50,
8 refactorings
The title sais it: you'll g...
Thanks for your infos Gordo...