[Qgis-user] Field calculator QGIS2.4 division error

Ivan Santiago isantiago at ogp.pr.gov
Thu Aug 21 13:04:15 PDT 2014


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/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140821/6b0244d7/attachment.html>


More information about the Qgis-user mailing list