title: python - remove all decimals from a float
body: <p>How can I remove all decimal places form a float?</p>
  
  <p><code>a = 100.0</code></p>
  
  <p>I want that to become 100</p>
  
  <p>I tried <code>str(a).rstrip('.0')</code>, but it just returned <code>1</code></p>