title: Why does Math.floor return a double?
body: <p>Official Javadoc <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#floor(double)" rel="noreferrer">says</a> that <code>Math.floor()</code> returns a <code>double</code> that is "equal to a mathematical integer", but then why shouldn't it return an <code>int</code>?</p>