News for hackers. Stuff that matters.
Re:A common bug in published code by Thasc on Friday April 22, 2011 @07:14AM (#2473745)
Instead of

int runs = (int) Math.random() * 1000000;

You'd do

int runs = (int) (Math.random() * 1000000);

There are no comments on this comment yet.