I encountered a strange behavior in the Expression node in Grasshopper.
I’m trying to implement a simple signum function (without the use of Python to make it faster).
It throws an error although I tried to anticipate the error by using an if clause. It returns NULL instead of zero (0) when x is 0.