title: Get the percentage of a value between two values
body: <p>I have a minimum value and a maximum value (The values can change).
  I also have a value that is in between of these two values.</p>
  
  <pre><code>private int minValue = 201;
  private int maxValue = 500;
  private int currentValue = 482
  </code></pre>
  
  <p>Now I need to get the percentage of the currentValue between 0% and 100%.
  Is this even possible?</p>
  
  <p>Thank you for your help!</p>