Why does C# Math.Floor() return Double instead of Int
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1348892/why-does-math-floordouble-return-a-value-of-type-double">Why does Math.Floor(Double) return a value of type Double?</a>  </p>
</blockquote>



<p>Why does C# <code>Math.Floor()</code> return <code>double</code> instead of <code>int</code></p>

<p>From the MSDN Docs:</p>

<blockquote>
  <p>Returns the largest <strong><em>integer</em></strong> less than or equal to the specified double-precision floating-point number</p>
</blockquote>

<p>it says it returns an integer. Its ok to return a <code>double</code>, I can always cast it to an <code>int</code> but its just quite strange, isn't it? </p>
