title: Convert int to 0-1 float
body: <p>I wonder why my next statement always returns 1, and how I can fix it. I accounted for integer division by casting the first element in the division to float. Apart from that I'm not getting much further.</p>
  
  <pre><code>int value = any int;
  float test = (float)value / int.MaxValue / 2 + 1;
  </code></pre>
  
  <p>By the way my intention is to make this convert ANY integer to a 0-1 float</p>