Creating random number between two values
If we have a high value and a low value and want to create a random number between the two:
randomNumber = (high - low) * random.NextDouble() + low;
randomNumber = (high - low) * random.NextDouble() + low;
Comments
Post a Comment