You can use the Odd attribute function to check if the value stored in the variable is odd.
Syntax | |
Odd | |
Return value | |
Type |
Description |
Boolean |
True if the value is not divisible by 2 without rest. |
Parameter | |
None |