Common/StringUtil: Use simpler formatting for floats and doubles.

This commit is contained in:
Admiral H. Curtiss 2022-04-12 23:35:19 +02:00
parent 2f90a2c689
commit 5c687fc2a3
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 2 additions and 2 deletions

View File

@ -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)