Views: how to remove ending zeros from decimal field
I created a file /theme/bartik/templates/views-view-field--open-events--page--field-coefficient.tpl.php:

&lt;?php
print (float) $row-&gt;_field_data['id']['entity']-&gt;field_coefficient[LANGUAGE_NONE][0]['value'];


And it worked.