# Odds and evens

**URL:** <https://forum.kirupa.com/t/odds-and-evens/153588>\
**Category:** Uncategorized\
**Created:** [July 2, 2005, 8:12pm UTC](https://forum.kirupa.com/t/odds-and-evens/153588 "2005-07-02T20:12:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sifu](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@sifu](https://forum.kirupa.com/u/sifu)\
**Post date:** [July 2, 2005, 8:12pm UTC](https://forum.kirupa.com/t/odds-and-evens/153588/1 "2005-07-02T20:12:07Z")

</div>

any help please!

how can you determine an even or odd number? i have variable ‘time’ and want a variable called ‘vari1’ to inherit a boolean type number ( 0 or 1). this is a simple switch between two functions each minute.

thanks for any help

sifu
