Fixes and tweaks

This commit is contained in:
Wojciech Figat
2022-01-26 16:55:22 +01:00
parent 05a935660d
commit 18b156ad44
9 changed files with 94 additions and 37 deletions

View File

@@ -406,6 +406,12 @@ bool StringUtils::Parse(const Char* str, float* result)
return false;
}
bool StringUtils::Parse(const char* str, float* result)
{
*result = (float)atof(str);
return false;
}
String StringUtils::ToString(int32 value)
{
char buf[STRING_UTILS_ITOSTR_BUFFER_SIZE];