There are two types of operators: BOOLEAN or ARITHMETIC

Variables are by default integer numbers and they will be converted to floating number if needed;
0 is the false value, 1 or the others are considered as true.

/!\ Parentheses are important.