From: Brad Tilley Date: 2006-10-26T08:34:40+09:00 Subject: Re: simple math question Thanks for all the examples guys! Being Ruby, I thought there might be some super simple method that just magically did this. I'll stick with the old-fashioned modulo test. -- Posted via http://www.ruby-forum.com/.