title: Python: get first number of every float in a list
body: <p>python beginner here. How can I convert</p>
  <pre><code>list = [2.4, 4.8532, 5.43253, 55.3838]
  </code></pre>
  <p>to</p>
  <pre><code>list = [2, 4, 5, 5]
  </code></pre>
  <p>Thanks.</p>