title: Reformat a DECIMAL value from Model throughout the views in Laravel
body: <p>I am wondering if it is possible to reformat a DECIMAL value from the model throughout the views. Let me explain... In the database I have a value DECIMAL(2,1). In most cases the values will be 1.0, 2.0, 3.0 and so on... But very rarely it can be 2.5... Now I want it to always be shown rounded down to 1, 2, 3 unless it's not a .0 number.</p>
  
  <p>I do not want to this in all the views, as I believe this is a way overkill thing to instead of doing it from the model.</p>
  
  <p>Anybody any ideas?</p>