title: Error with division using double type in Java
body: <p>Okay. I have been bashing my head against the wall for like 2 hours now trying to figure out why in the world <code>double answer = 364/365;</code> is telling me that <code>answer</code> is 0. Or any other combination of <code>double</code> for that matter, its just truncating the decimal and I just don't know why. </p>