DBNUMERIC dbnumeric;
dbnumeric.precision = 14;
dbnumeric.scale = 4;
double d = 0.05;
int rc = srv_convert (srv_proc_, SRVFLT8, &d, 1, SRVNUMERIC, &dbnumeric,
1);
int rc = srv_convert (srv_proc_, SRVNUMERIC, &dbnumeric, 1, SRVFLT8, &d,
1 );
put the code to convert back to double - the result is crap
Any idea?
regards,
Tim