Branch & float condition?

If you want pin A to be the float, and pin B to be the condition, then you need to do it in C++