Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Random float value

807607Jan 18 2007 — edited Jan 18 2007
Hi,

How can I get random float value between 0.01f and 0.05f?

random.nextFloat() returns values between 0.0f and 1.0f

Please help me.

Regards,

Stanley
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2007
Added on Jan 18 2007
3 comments
307 views