Hi,
Why the math.sum is didn’t work? Is it because the list have empty values? The parameter is “number” parameter. Thanks. Warning: Math.Sum expects argument type(s) (double), but was called with (var).
Yes. Replace the empty values with 0s or remove them.
To filter them I would use something like this, but I’m sure other good solutions exist:
Do a quick check to see if it’s a number.