How to use
- Set the minimum and maximum values (integers).
- Click Generate to get a random integer in the range [min, max].
- Click again for a new number.
Algorithm
$$n = \lfloor \text{Math.random()} \times (\text{max} - \text{min} + 1) \rfloor + \text{min}$$
All integers in [min, max] have an equal probability of $\frac{1}{\text{max} - \text{min} + 1}$.
