title: Taking the floor of a float
body: <p>I have found two ways of taking floors in Python:</p>
  
  <pre><code>3.1415 // 1
  </code></pre>
  
  <p>and </p>
  
  <pre><code>import math
  math.floor(3.1415)
  </code></pre>
  
  <p>The problem with the first approach is that it return a float (namely <code>3.0</code>). The second approach feels clumsy and too long.</p>
  
  <p>Are there alternative solutions for taking floors in Python?</p>