R = (-1/A)*ln[(-1/A)*{exp(-A*b)-exp(-A*a)}] R is the rounding point between consecutive integers a & b. I hope that that expression can be simplified. Mike Ossipoff