Basic set-up:

How many random integers?

lower bound: upper bound:

Output:

original rational
newrandom=Math.random();
converted integer
aninteger=Math.ceil(range*newrandom)+lowest-1;

Script of core function: