Test
Histogram of 500,000 iterations:
Graphed with Bar Grapher
Usage
Simple example:
MsgBox % LinearWeightRandomNumber(1,10)
The above displays a decimal number that is between 1 and 10, biased towards 10. The lower bound is inclusive, while the upper bound is not (i.e. the above example could potentially return 1.0, but never 10.0).
Download
AutoHotkey.net