Deviation

Hi,

I have a value which is 1052.52euro I need to check if my other value has a deviation of 5 euro. How to do that? It can be less and more just that it is ranked up to 5 euro.

@JOHOHO

Substract other value from this value and check whether is equal to 5 Euro’s or not.

Yes, but it can also be a value between. Any difference of up to 5 corresponds to whatever is greater or less than the value in the variable

@JOHOHO

Then check whether deviation is less than 5 or not.

1 Like

In an assign you can use the following
E.g.
doubleN = 1054.52
doubleM = 1052.52

Assign - InRange = IF(doubleNdoubleM+5,“out of limits”,“within limits”)

That would be within limits - same formula applies inside If Activity :slight_smile:

1 Like