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