title: Random numbers only some times
body: <p>How can I get a random number x% of the time</p>
  
  <pre><code>int randomNum = ThreadLocalRandom.current().nextInt(min, max + 1);
  </code></pre>
  
  <p>and y% of the times any number above  10.</p>
  
  <p>Maybe trivial but I can not find a simple solution
  Thanks for your help ! :) </p>