by __mark · 15y ago · 0 comments
int runs = (int) Math.random() * 1000000;
You'd do
int runs = (int) (Math.random() * 1000000);