I might add (X MOD 2) to the bidding... Cheers, Pavel Ben Tupper wrote: > Dang! > > I just spent an hour figuring out an efficient way of determining if an > integer is odd! > > I have an IDL function ISODD() for sale... very cheap. No reasonable > offer refused. > > Ben