We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0d4d0 commit 591e05cCopy full SHA for 591e05c
orm_lib/src/SqlBinder.cc
@@ -259,7 +259,9 @@ SqlBinder &SqlBinder::operator<<(double f)
259
parameters_.push_back((char *)(obj.get()));
260
return *this;
261
}
262
- return operator<<(std::to_string(f));
+ std::stringstream ss;
263
+ ss << std::setprecision(17) << f;
264
+ return operator<<(ss.str());
265
266
267
SqlBinder &SqlBinder::operator<<(std::nullptr_t)
0 commit comments