Schnittstelle um logging erweitert

This commit is contained in:
2023-06-27 12:41:47 +02:00
parent b22b9855fa
commit 8b5d706db4
10 changed files with 43 additions and 19 deletions

View File

@@ -29,7 +29,7 @@ namespace WWTech_KanalSchnittstelle.Importer
{
decimal result = 0m;
input = string.Format("{0:0.000}", input).Replace('.', ',');
if(decimal.TryParse(input, out result))
if(!decimal.TryParse(input, out result))
{
throw new Exception("Konnte koordinate nicht parsen");
}