3-rd decimal digit has disappeared in the output I created a field, attached it to the entity: coefficient_to_second_side. Type in the  database is decimal(10,3). Then I added a value: 1.001. When I select this field manually from the database, the value is correct. In the edit form it is correct:



But when I output the field on the entity page:

field_attach_prepare_view('event', array($entity-&gt;id =&gt; $entity), 'full');
entity_prepare_view('event', array($entity-&gt;id =&gt; $entity));
$entity-&gt;content += field_attach_view('event', $entity, 'full');


I get this:

Coefficient to second side:
1.00


The third digit has disappeared. How to fix?
If you type of "Coefficient" is float, you can change scale in display options for your Content Type. (admin/structure/types/YOUR_CT/manage/display). By default it's 2.