Remove CStr::FromDouble

In most places `fmt::format` is used because it's locale indidendant.
For the user reporter the locale dependant form of `fmt::format` is used
because it's shown to the user.
This commit is contained in:
phosit
2026-08-06 19:09:46 +02:00
parent e4b72711e6
commit 45ea0432a2
7 changed files with 18 additions and 24 deletions
-9
View File
@@ -200,15 +200,6 @@ CStr CStr::Repeat(const CStr& str, size_t reps)
return ret;
}
// Construction from numbers:
CStr CStr::FromDouble(double n)
{
tstringstream<StrBase> ss;
ss << n;
return ss.str();
}
// Conversion to numbers:
int CStr::ToInt() const