One option would be to setup a group output and set it equal to the number you want to check. Then just check the status of the first output in the group. If it is off then the number is even if it is on then the number is odd.
One option would be to setup a group output and set it equal to the number you want to check. Then just check the status of the first output in the group. If it is off then the number is even if it is on then the number is odd.