title: Django: How to hide trailing zeros of DecimalField across the framework
body: <p>I needed to have numbers that are not integers but also have halves <code>0.5</code> so I switched my model from <code>IntegerField</code> to <code>DecimalField</code>.</p>
  
  <p>However, numbers now show as <code>5.00</code> which is way too burdening. What are my options to display the numbers without trailing zeros: <code>0.5</code> instead of <code>0.50</code>and <code>5</code> instead of <code>5.00</code>?</p>
  
  <p><strong>I am interested to know how to structure the framework to make that work - functions, decorators, or some kind of template tags or maybe some kind of localization. Someone that knows better should be able to dissect and explain the best choices.</strong> </p>