diff --git a/Controls/paramcompare.cs b/Controls/paramcompare.cs index 934eb1067e..c6f0389f6e 100644 --- a/Controls/paramcompare.cs +++ b/Controls/paramcompare.cs @@ -41,7 +41,7 @@ void processToScreen() if (param.ContainsKey(value) && param2.ContainsKey(value)) { // check double != double - if (param[value] != param2[value]) + if (param[value].ToString() != param2[value].ToString()) // this will throw is there is no matching key { Console.WriteLine("{0} {1} vs {2}", value, param[value], param2[value]);