Field calculator rounded to integer

Hi list, developers specially

I have an issue with a points layer: It has a real-double field with 6
decimals that can't calculate decimals, just integers.

For example in Field Calculator, I try to actualize the field "buf_grados"
with field "buff_metros"/111120 [1] to estimate a distance in meters to
degrees, but result is just integer (0.000000). If you divide per another
minor number (eg 10), result is not zero, but just integer.

I've tried with a new field, but result is same: just integer

I've tried closing and reopening the project, and even restarting my PC,
but nothing.

It's a bug?

Carlos
Ubuntu 12.04 - QGIS 2.0.1

[1] Layer can be dowloaded from:
https://docs.google.com/file/d/0B7OCKS4ZyCTAR2JZQVYwYXg3WlU/
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to