JavaScript: // random number between 0 and 10 var ranNum = Math.floor(Math.random()*11);
Is there an easier way than this in Java? I thought the JavaScript and Java random methods were similar. Kirk Cerny /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */