(fix by Hiroki kataoka).
2) Ensure the definition of atof()(#include stdlib.h).
(suggestion by Masaaki Sakaida).
#include <time.h>
#include <math.h>
+#include <stdlib.h>
#include "convert.h"
#include "statement.h"
#include "qresult.h"
break;
case SQL_C_DOUBLE:
- sprintf(param_string, "%f",
+ sprintf(param_string, "%15g",
*((SDOUBLE *) buffer));
break;
case SQL_C_FLOAT:
- sprintf(param_string, "%f",
+ sprintf(param_string, "%6g",
*((SFLOAT *) buffer));
break;