Jorge Arévalo wrote:
 fPixelSizeX = atof(PQgetvalue(hPGresult, 0, 2));

I get 0.899999976158142 instead of 0.9.

0.899999976158142... is the value closest to 0.9 that a single precision float variable can store.
Using 'double' should give 0.90000000000000002220...

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to