Possible Duplicate:
Java: generating random number in a range
I am using Math.random()
in java. But always it returns less than 0. Such as 0.4454590405954
Is there a way to return meaningful numbers as what i want.
For example i want to return numbers which values are 0 to 100. How i can do it?