I\'m having a hard time explaining this one. The following function is being used as a worksheet formula. A value of \"empty\" simply means that the cell was empty and, theref
That error is the result of floating point accuracy problems. Even if your first two values are 0 and 0, it will still have the same result. So will {0.1, 0.2, 0.3, 0.4}.
Round it to some reasonable number of decimal places before returning it and call it a day.