Random number challenge

Kirk Cerny kirksemail at gmail.com
Thu Jun 12 08:23:26 MDT 2008

   // 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

More information about the PLUG mailing list