Answer the question
In order to leave comments, you need to log in
How to take random from a span?
How to take random from a range in Java? For example from 10000-90000?
Answer the question
In order to leave comments, you need to log in
Normally rand will return numbers between 0 and 1.
If so, then 10000 + rand()*80000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question