aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Json.cpp b/lib/Json.cpp
index 121c2de..b2315b6 100644
--- a/lib/Json.cpp
+++ b/lib/Json.cpp
@@ -72,7 +72,7 @@ namespace json {
ss << "\"" << escape_json(std::get<std::string>(value)) << "\"";
}
else if (std::holds_alternative<double>(value)) {
- ss << std::defaultfloat << std::get<double>(value);
+ ss << std::fixed << std::get<double>(value);
}
else if (std::holds_alternative<ssize_t>(value)) {
ss << std::get<ssize_t>(value);