title: Rescaling numbers between 0 and 1
body: <p>I have the following list of numbers:</p>
  
  <p>3.16, 4.72, 6.44, 8.25, 3.76, 4.87, 5.76, 6.5, 7.32</p>
  
  <p>I have to rescale the numbers between (0, 1) such that:</p>
  
  <p>1)The smallest number gets a value closest to 0 but not 0.</p>
  
  <p>2) The largest number gets a value closest to 1 but not 1.</p>
  
  <p>0 in my study denotes perfectly suitable and 1 denotes perfectly unsuitable, that's why I want to exclude them from the end result.</p>
  
  <p>Any help will be greatly appreciated.</p>