aboutsummaryrefslogtreecommitdiff
path: root/include/Support/StringExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/StringExtras.h')
-rw-r--r--include/Support/StringExtras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Support/StringExtras.h b/include/Support/StringExtras.h
index 9233d6c0cd..0596b2feb5 100644
--- a/include/Support/StringExtras.h
+++ b/include/Support/StringExtras.h
@@ -80,7 +80,7 @@ static inline std::string itostr(int X) {
static inline std::string ftostr(double V) {
char Buffer[200];
- snprintf(Buffer, 200, "%e", V);
+ snprintf(Buffer, 200, "%20.6e", V);
return Buffer;
}