diff options
-rw-r--r-- | libodbcpp/column.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp index 85022eb..d4b6446 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -77,7 +77,7 @@ namespace ODBC { int _Column<SQLDOUBLE>::writeToBuf(char ** buf) const { - return writeToBuf(buf, "%d"); + return writeToBuf(buf, "%g"); } template <> int |