ESQL/C Floats returned as CHAR
Posted in 1994
I remember some talk on this a while back ... sorry but can't find answer anymore. We have an application that uses ESQL/C to read tables and then forces the sqlda to return char. Problem we are having is that the floating point values are being returned using the default of 2 decimal places. I know that using piped, isql, there is the undocumented DBFLTMASK environment variable which is used to set the precision. But what is the counterpart on ESQL/C? I remember a long answer on this about a month ago ... can't find it anymore! -- *--------------------------------------------------------------------------* * Ronald R. Larson * * Staff Engineer * * Harris Corporation Phone: (407) 242-5578 * * Controls Division Fax: (407) 242-4268 * * P.O. Box 430, MS 205 internet: rrl@ccd.harris.com * * Melbourne, FL 32902-0430 EPRInet: UA4N311 * *--------------------------------------------------------------------------*