> So how would i get it to so a prompt menu would come
> up so a viewer can set that maximum?
Huh? Your topic title suggested, at least to me, that your question
was about random numbers?
Nevertheless, have a look at the JOptionPane class.
kind regards,
Jos
Sorry i wasn't real clear.
So i put in this information
number1=prompt("Enter a number greater than 0","");
number1=parseFloat(number1);
how would i now use that number the viewer inputed and set that as the maximum for the range of random number can be.
thanks again