Posts

Showing posts with the label Algorithms

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;