title: Django - save float as INT to model
body: <p>Through serializer I am saving numbers like 56.234677 to <code>FloatField</code>,
  but I want to change that and save them as <code>int</code>.</p>
  
  <p>I could change it before it's passed into serializer but not sure that's practical.</p>
  
  <p>Can something like this be used on model input just before it's saved?:</p>
  
  <pre><code>def iround(x):    
      return int(round(x) - .5) + (x &gt; 0)
  </code></pre>
  
  <p>(rounds float/decimal to int)</p>