You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.
== Math.random() ======
<code java>
Math.random() double;
</code>
generate a 'double' random number
====... ic static void main(String[] args) {
double randomDigit;
randomDigit = Math.random();... tem.out.println(randomDigit); // random number as double
System.out.println(randomDigit*1000+1); //double random number between 1-1000
System.out.println((int)(randomDigit*1000+1)); //double