On Fri, May 2, 2008 at 11:15 PM, Markus Neteler <[EMAIL PROTECTED]> wrote:
...
>  v.db.select output:
>  ...
>  D3/3: fetch row = 4
>  D3/3: col 0, litetype 2, sqltype 6: val = '4.0'
>  D3/3: Row fetched
>  4
>  D3/3: fetch row = 5
>  D3/3: col 0, litetype 2, sqltype 6: val = '2.35355339059327'
>  D3/3: Row fetched
>  2.353553

It seems that the precision gets somewhere lost in
db_convert_column_value_to_string()

i.e. lib/db/dbmi_base/columnfmt.c

but I don't find where is is rounded.

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

Reply via email to