From 41de30358fc1608a1e0f111867664d9f91ebecd3 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 19 May 2010 21:42:06 +0000 Subject: Fix output format for double columns --- libodbcpp/column.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::writeToBuf(char ** buf) const { - return writeToBuf(buf, "%d"); + return writeToBuf(buf, "%g"); } template <> int -- cgit v1.2.3