> am i the only one that thinks it's weird to discuss so long about > remainder/modulus when there's no integer division? Remainder/modulus defines integer division: function Idiv (x, y) return (x - x%y)/y end -- Roberto