Random Numbers
Hello,
I'm coding in my JIDE right now and am testing the functionality of the Random number generator. I keep getting an error java/lang/Double was not found. So I looked and the Random package but there are no double values in it. The seed however is casts as a short.
Emily
I'm coding in my JIDE right now and am testing the functionality of the Random number generator. I keep getting an error java/lang/Double was not found. So I looked and the Random package but there are no double values in it. The seed however is casts as a short.
Emily

Comments
import java.util.*; import stamp.core.*; public class Random_test { static void main() { Random myRandom = new Random(); while (true) { int c = myRandom.next(); CPU.delay(20000); System.out.println(c); } } }regards peter