Creating a Random Number Between a Specified Range of Numbers

There are times when you want to generate a random number that is between a certain range, for example, between ‘x’ and ‘y’ where ‘y’ is larger than ‘x’. Many coding languages will have a random number generator and so creating a random number in theory using the native built in language function is not a problem. However, in many cases, this random number generator will create a random number between 0 and 1 and so in most cases, this is not a format which you will find useful because you would be looking for a random number between ‘x’ and ‘y’ and so you must convert this random number to fit in this range.

The way to go about doing this is actually rather simple.

Required Number = (Random Number * (MaxRange – MinRange) + MinRange

Visio 2007 Trial By Fire

I have spent the last couple of months working with the Visualization capabilities of Microsoft’s Visio Office Professional 2007 using SQL Server 2005 as the data source. It has been really interesting to say the least but things will start to wind down after Friday.

Next week or so I hope to do some short write-ups on my experience and what I found interesting about Visio 2007

Understanding Service-Oriented Architecture

For those of you interested in learning more bout Service-Oriented Architecture, this site at IBM is a great place with plenty of information

Blog at

Up ↑