Hamish wrote: > You could change lib/db/dbmi_base/valuefmt.c > > db_convert_value_to_string() > [...] > case DB_C_TYPE_DOUBLE: > sprintf (buf, "%lf",db_get_value_double(value)); > > "%lf" to "%g", but I worry this will break other things? > Maybe it is ok, I don't know. Radim would have to answer that. > > This works for the d.vect case and the results look good! Yes, %g is better. Radim