Check if double value bigger/smaller than a fixed value


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.


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