Check if double value bigger/smaller than a fixed value

Hello,

I want to check if the current double value is bigger/smaller than a fixed value. eg: double < 2.
Tried with If condition and got the error that ‘if’ operator requires either two or three operands.

Please help.

grafik

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.