diff options
author | unknown <holyfoot@mysql.com> | 2005-11-10 16:32:49 +0400 |
---|---|---|
committer | unknown <holyfoot@mysql.com> | 2005-11-10 16:32:49 +0400 |
commit | 25758b41654be1f11bbcc983a34e79e4c44d6e16 (patch) | |
tree | b0424cb89f3cd03fe7ca55f4e5bcd22960984114 /strings/decimal.c | |
parent | 75fab5146f0c230115ddc6e2e1e0f1b9c213f3d5 (diff) | |
parent | fb832641c340e528677d8e90f419303e8ae13fd0 (diff) | |
download | mariadb-git-25758b41654be1f11bbcc983a34e79e4c44d6e16.tar.gz |
merging
strings/decimal.c:
Auto merged
Diffstat (limited to 'strings/decimal.c')
-rw-r--r-- | strings/decimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/decimal.c b/strings/decimal.c index f536bdb1d6b..0c1f03016e0 100644 --- a/strings/decimal.c +++ b/strings/decimal.c @@ -973,7 +973,7 @@ int double2decimal(double from, decimal_t *to) { /* TODO: fix it, when we'll have dtoa */ char s[400], *end; - sprintf(s, "%f", from); + sprintf(s, "%.16G", from); end= strend(s); return string2decimal(s, to, &end); } |