I have a 'Decimal' field whose widget is Text Field and display setting is '9.999,99'.

If I enter a number >= 1 million, for example 1280000, it is displayed as expected for the first time: 1.280.000,00.

But if I edit the node, the content of that field is changed to 1.28e+06 in the form. If I click on Submit without changing the value, it is displayed as 1,28. If I go to Edit node again, the value of that field is then 1.2806.

If I fix the Decimal field value when editing the node, it is displayed correctly again, but only untill someone goes and edit the node once again.

Comments

karens’s picture

Status: Active » Closed (duplicate)

Duplicate of http://drupal.org/node/109246, a known problem that will only be fixed when we have a real decimal field in D6.

rootical’s picture

Version: 5.x-1.5 » 7.x-2.x-dev

I`ve got striclty the same problem on the latest drupal 7 installation.. Please someone help to fix this