title: How to map numbers in range <0;99> to range <-1.0;1.0>?
body: <p>So I have a function which always returns a number from range &lt;0;99> (i.e. 0, 1, ... 99 - integers).</p>
  
  <p>What would be the best way to correctly map those numbers to range &lt;-1.0;1.0>?</p>
  
  <p>0 would be -1.0 of course and 99 would be 1.0. How to calculate the numbers between?</p>