Reputation: 5633
How to generate real random numbers having as low and high 2 real numbers?
I want random numbers between: 2.7 and 3.2. What should I write to get this? :) :D
Upvotes: 2
Views: 2278
Reputation: 39207
What about
= 2.7 + (3.2-2.7)*RAND()
Upvotes: 4