[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT:Perl %= operator



On Thursday, August 02, 2001 5:28 PM, kenjanuski@mindspring.com pondered:

> [...] I'm just not sure what 2 % 7 equals.

for m,n integers with m>=0, n > 0 , m < n:

  ( m modulo n )  = m

so, yes, 2 % 7 is 2 .

Best,

  -=greg




Reply to: