Math expression negative numbers?

So I used a lot of math and started to place it into math expression and made this simple example, is this supposed to be?

299513-asd.png

Hello DDemon,

the parser doesn’t handle unary operators very well (it simply doesn’t understand them (tested up to 4.24)), to solve it either use a variable input and set the necessary parts as a static input to the node, or perform your problematic operations separately from the math expression node.

Hope that helps. Might be worth reporting it as a bug, or as a feature request.

Regards,

Vecherka.

Doubt that it will happen but link

Confirmed the problem still happens on UE5.8.
One easy solution might be adding zero before the minus operator and make it working as binary operator.