Hi Derek, thanks for the quick reply!
Sorry, I've worked as a developer previously and I just assumed you could do that :)
I can just as well add some helper variables to get the correct values to compare to. The reason for my calculation is to simulate a kind of hysteresis, so that something would only happen if there is a significant difference between two values. I have the same kind of formula in another sequence so I'll have to update that one as well.
Of course, basic calculation could be helpful, or then just a quick check that notices that you're trying to do a comparison between a number and something else and warn you it won't work.