RandBetween(low,high,number)

Top  Previous  Next

Generates number random integers between high and low inclusive.  The random integers are uniformly distributed.

 

RandBetween(5,10,30) might generate

9, 7, 7, 9, 9, 7, 10, 10, 8, 9, 8, 5, 7, 5, 8, 10, 7, 6, 9, 9, 8, 8, 5, 6, 7, 5, 6, 7, 5, 8

 

Note:  If you type decimals using a comma (eg 3,2) you should enter this formula as RandBetween(5; 10; 30)  - using the ; as a separator