I am seeing a considerable loss of precision when converting numeric data to a string using the dbconvert() DB-Library call. I only receive 15 digits of precision on a decimal value but when the same column is queried using ISQL, all the data is there.

Example:

following dbconvert call:
"-9.22337203685478e+018"
from ISQL:
"-9223372036854775808"

How does ISQL do it and are there any other API options for getting all the data back?

Thanks,

EVG1