It is easy to set the minimum and maximum value in the application. You can then easily generate a number. The application always remembers and displays the previous number.