Schnittstelle um logging erweitert
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user