Hi @Cedric
The Function node you have shared assumes you have already put the two values into flow context before the Function is triggered.
If you are getting NaN
then one or both of your values is probably not set properly.
Can you share your wider flow that shows how income
and outgoing
are set in context, and how you are triggering this Function node?