OK, so i figured out what is happening.
“lenr” in the below, could be false.
Len_diff_Abs = Math.Abs((Lcr-lenr));
so you will have:
Math.Abs(someNumber - false)
This is confusing the Abs function. you’d think it will give a different error or warning message, since i am subtracting Boolean from integer or double.
Thanks for the help.
is there a better way to clean out nulls and strings of all kind from my input. i find what i did in the first 6 lines a bit awkward and lengthy