Converting it to a char should round it down for you...
Type: Posts; User: KevinWorkman
Converting it to a char should round it down for you...
Almost. You multiply it by whatever you want your maximum (non-inclusive) to be. If you want a char, check out the upper bounds for them.
Also, don't be afraid to try these things before you ask....
Yeah. It's available towards the bottom of this page: Java SE Downloads
That depends on what you want it to do. Recommended reading: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
You tell me. What does the API say? It is...
I'm still really not positive what you mean, but you could either create a method that calls it for you, or you could look into the Random class.
But now that I'm looking at your code a little...
I'm not sure what you mean by "another method that i may use to display that value". Do you mean in a GUI? Something else?