Description
Compares the variable on the left with the value or variable on the right of the operator. Returns true when the operand on the left is less (smaller) than or equal to the operand on the right.
Syntax
x <= y; // is true if x is smaller than or equal to y and it is false if x is greater than y
Parameters
x
: variable. Allowed data types: int, float, double, byte, short, long
y
: variable or constant. Allowed data types: int, float, double, byte, short, long