Hi,<div><br></div><div>I'm using QGIS 1.8.0 on Windows 7.</div><div><br></div><div>I have a shapefile with some Real attribute columns (Length 19, precision 10) and I want to create a percentage column from two of these.</div>
<div><br></div><div>So I start editing the file, open the attribute table and open the field calculator.</div><div><br></div><div>Then I create a new field with the same data type (Real, length 19, precision 10) and I use the GUI and field selectors to enter the following expression:</div>
<div><br></div><div> "S2"  /  "GVA09"  * 100</div><div><br></div><div>This works fine until I try to save the changes or stop editing. Then all values in the new column revert to 0 or NULL.</div><div><br>
</div><div>Does someone know what is going on?</div><div><br></div><div>Thanks</div><div>Hanlie</div><div><br></div><div><br></div>