summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp
index 2a696f32f8..a752ab0e10 100644
--- a/Source/Core/Common/StringUtil.cpp
+++ b/Source/Core/Common/StringUtil.cpp
@@ -279,12 +279,12 @@ std::string ValueToString(u64 value)
std::string ValueToString(float value)
{
- return fmt::format("{:#.9g}", value);
+ return fmt::format("{:#}", value);
}
std::string ValueToString(double value)
{
- return fmt::format("{:#.17g}", value);
+ return fmt::format("{:#}", value);
}
std::string ValueToString(int value)