title: Convert from 64bit number to 32bit number
body: <p>Trying a lot and just failing..</p>
  
  <pre><code>$x = 76561198005785475;
  </code></pre>
  
  <p>I want to this number, turn into this:</p>
  
  <pre><code>$y = 45519747;
  </code></pre>
  
  <p>That is the 32bit form of it.</p>
  
  <hr>
  
  <p>Trying to explain with more details:</p>
  
  <p><a href="http://www.tonymarston.net/php-mysql/converter.php" rel="noreferrer">http://www.tonymarston.net/php-mysql/converter.php</a></p>
  
  <p>1) Put the value 76561198005785475 on the "Decimal (input)" field.
  2) Press "DEC to BIN" on the "Binary (Base 2)" field.
  3) Count 32 starting from the RIGHT and copy it.
  4) Paste the 32 chars binary number on "Binary (Base 2)" field.
  5) Press "Bin to Dec" button on the "Binary (Base 2)" field.</p>
  
  <p>Ok, now you can see the "45519747" number.</p>