Fix culture to en-US across entire program to avoid parsing issues etc

This commit is contained in:
N00MKRAD
2023-12-21 19:12:12 +01:00
parent 5da083bf2c
commit 916dd2fe06
4 changed files with 8 additions and 184 deletions

View File

@@ -79,8 +79,7 @@ namespace Flowframes
return 0f;
string num = str.TrimNumbers(true).Replace(",", ".");
float value;
float.TryParse(num, NumberStyles.Any, CultureInfo.InvariantCulture, out value);
float.TryParse(num, out float value);
return value;
}