diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-08 16:14:50 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-08 16:15:07 +0100 |
commit | bdb5c897087d3588f456c020b3633cbd694003da (patch) | |
tree | ef09420dad64a438e097645850b8596eebe28a97 /lib/dbTypes.h | |
parent | Simplify some bits with concepts (diff) | |
download | mygrate-bdb5c897087d3588f456c020b3633cbd694003da.tar.bz2 mygrate-bdb5c897087d3588f456c020b3633cbd694003da.tar.xz mygrate-bdb5c897087d3588f456c020b3633cbd694003da.zip |
Tests, fixes, improvements to WritePqCopyStream
Diffstat (limited to 'lib/dbTypes.h')
-rw-r--r-- | lib/dbTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dbTypes.h b/lib/dbTypes.h index 31793e4..f49c929 100644 --- a/lib/dbTypes.h +++ b/lib/dbTypes.h @@ -13,10 +13,10 @@ struct timespec; namespace MyGrate { template<typename T> struct printer; template<> struct printer<double> { - constexpr static const char * const fmt {"%f"}; + constexpr static const char * const fmt {"%g"}; }; template<> struct printer<float> { - constexpr static const char * const fmt {"%f"}; + constexpr static const char * const fmt {"%g"}; }; template<> struct printer<int8_t> { constexpr static const char * const fmt {"%hhd"}; |