title: 3 / 2 = 1.0? really?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3144610/java-integer-division-how-do-you-produce-a-double">Java Integer Division, How do you produce a double?</a>  </p>
  </blockquote>
  
  
  
  <pre><code>double wang = 3 / 2;
  Log.v("TEST", "Wang: " + Double.toString(wang));
  </code></pre>
  
  <p>Logcat output...</p>
  
  <pre><code>07-04 09:01:03.908: VERBOSE/TEST(28432): Wang: 1.0
  </code></pre>
  
  <p>I'm sure there's an obvious answer to this and probably I'm just tired from coding all night but this has me stumped. </p>