On Oct 9, 2010, at 4:58 PM, Cassie Maas wrote: > Bryan, > > Would taking modulo 2 to a number tell you if it was even or odd? based on > whether or not it returned a value (ie a remainder?) Yes, that's it exactly. I've used this coding style quite often.