Remove ToStringDot, no longer needed with forced CultureInfo

This commit is contained in:
N00MKRAD
2024-11-26 12:14:44 +01:00
parent 67cbff594c
commit b9029cb5f4
6 changed files with 9 additions and 17 deletions

View File

@@ -239,14 +239,6 @@ namespace Flowframes
return filename + suffix + ext;
}
public static string ToStringDot(this float f, string format = "")
{
if (string.IsNullOrWhiteSpace(format))
return f.ToString().Replace(",", ".");
else
return f.ToString(format).Replace(",", ".");
}
public static string[] Split(this string str, string trimStr)
{
return str?.Split(new string[] { trimStr }, StringSplitOptions.None);