How is this variable 0 here?

I was working on a cover generating script that is triggered via bp construction script that calls a C++ method.
But for some reason one aof my variables always is 0 and I don’t know how?

.h:

.cpp:
113788-
As you can see if PlusX is greater than 0 Delta is set to DeltaX.
But if I try this function with (and probably with every other number)DeltaX = 100.0 and PlusX = 75.0, Delta = 0 for some reason.

The output of the log is:
Called GenOnOneSide()
PlusX is 100.0
PlusY is 0
Delta is 0

Can anyone see what I am doing wrong?

Found the problem, in the place where I set DeltaX and DeltaY I have float before it, and it is in a different scope, so I actually tried to use the wrong variable here.