quick, simple question
hey all
im not new to java or anything
but i am, unfortunately, a bit rusty on it
not to mention the fact
that im running on very little sleep right now
so my brain isnt exactly working right
anyway... to my question
all im trying to figure out
is how to generate a simple random number
anywhere between zero and 1000
i looked in the java documentation
but all i found was a Math.random() method
that says it generates a number between zero and one
not exactly what im looking for...
so yeah...
any help would be greatly appreciated
im sure its a real simple problem, for you guys, anyhow :)
im not new to java or anything
but i am, unfortunately, a bit rusty on it
not to mention the fact
that im running on very little sleep right now
so my brain isnt exactly working right
anyway... to my question
all im trying to figure out
is how to generate a simple random number
anywhere between zero and 1000
i looked in the java documentation
but all i found was a Math.random() method
that says it generates a number between zero and one
not exactly what im looking for...
so yeah...
any help would be greatly appreciated
im sure its a real simple problem, for you guys, anyhow :)
