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;

Comments

Popular posts from this blog

Path environmental variable on mac

Setting up node-sass on a mac