Bug report #8897

Updated by Alexander Bruy about 6 years ago

- Open field calculator

- Expression 10/ toreal( 3)

- Set to create a new field type (integer), width 10.

Result? 3.33333333333333

This is obviously wrong. When I save the shapefile it will be truncated to "3", which is right. But QGIS should never return 3.333333333333 in the first place, because it is invalid for the data type of the output format. The fact the result changes when saved is anathema to all conventions of data handling.