Board Thread:Questions and Answers/@comment-24973829-20141109183652/@comment-5334617-20141109221729

Assuming you just want integers:

If the lowest number you want is, and the highest number you want is   will give you a random number in that range.

This will even work if  and/or   are negative, it will even work if they are the same number - you will always get that same number as the result.