As fellow woodsmen, I fully understand your position. :) PHP has the "floor" function. This will allow you to round down to the nearest whole number. This should do what your looking for. hth --- Michael Pemberton evolt at mpember.net.au