# Detecting EVEN or ODD variables

**URL:** <https://forum.kirupa.com/t/detecting-even-or-odd-variables/187098>\
**Category:** flash\
**Created:** [April 26, 2006, 5:47pm UTC](https://forum.kirupa.com/t/detecting-even-or-odd-variables/187098 "2006-04-26T17:47:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [April 26, 2006, 5:47pm UTC](https://forum.kirupa.com/t/detecting-even-or-odd-variables/187098/1 "2006-04-26T17:47:02Z")

</div>

How can I detect if the variables are EVEN or ODD?

The if statements will depend on that.
