diff options
| author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-09 11:48:39 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-24 14:01:08 +0000 |
| commit | 4c2dd1a9c1559b4f925a907a832580867dda91e5 (patch) | |
| tree | 86904086b27df70f584443e03a3611d9ee24a1b7 /src/sql/drivers/mysql/qsql_mysql.cpp | |
| parent | 5c8c4d0b2127a5110e05fa4afa1b8883cc91a5df (diff) | |
Centralize dropping of trailing zeroes when converting doubles
We're never interested in trailing zeroes, unless the number is exactly
0. qdtoa would return an empty string if the result was exactly '0',
which is also fixed by this change.
Change-Id: I3ba2f7e835b92d54d9008ad03fdf6ce5fb3af8a4
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/sql/drivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
