Hello all:

Does anyone have had problems with field calculations using the division 
operator?

I've tried many times to update a new field using both the old field calculator 
and the new interface but they just don't work with division.

Simple operations like:
"HC01_VC04"  /  "HC01_VC03" * 100
Do not work.
The  only workaround I found was to put the function abs into the denominator:
"HC01_VC04"  /  abs("HC01_VC03") * 100

Then it gives the result but this should be avoidable.

I'll send the table used if anyone want to try it.

Qgis version is 2.4 (32bit) under WIN7.

---------------------------
Iván Santiago
GIS Specialist
Information Technologies
Office of Management and Budget
787.725.9420 x 2378
Calle Cruz 254
PO Box 9023228
San Juan, PR 00902-3228
http://gis.pr.gov<http://gis.pr.gov/>

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to