Grasshopper 'Average' Component: Automatically Cast Input to Number

Hi, it appears that the Grasshopper ‘Average’ component does not automatically cast inputs to numeric values? This seems counter to how all the other arithmetic components work, and I would vote that it automatically do the conversion so that it works just like all the rest.

Of course it all works fine if you manually convert the inputs to ‘Number’, but that seems unnecessary, and none of the other math components work that way.

best,
@ed.p.may

you can use Average also on other Types like Point3d

@inno, that is true, but so can the ‘add’ component. It works on things like Vectors and Points as well, and yet it doesn’t require you to explicitly cast inputs to numbers:

1 Like