Result follow the input sign

I need to link the result of this sum at the starting sign (positive/negative).
Any help?
thanks,
Roy

sum issue.gh (5.7 KB)

+1 / -1 is “A”
0.1 is “B”

Do an expression component with:

( A / Abs(A) ) * ( Abs(A) + B )

1 Like

perfect! thanks a lot!