MLUG: Re: [UUG/MLUG] perl and y2k
Re: [UUG/MLUG] perl and y2k
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tymm Twillman wrote:
> 
> you know, this then caused me to go look at perlop(1); description there:
> 
> Binary ``%'' computes the modulus of two numbers. Given integer operands
> $a and $b: If $b is positive, then $a % $b is $a minus the largest
> multiple of $b that is not greater
> than $a. If $b is negative, then $a % $b is $a minus the smallest multiple
> of $b that is not less than $a (i.e. the result will be less than or equal
> to zero).
> 


In our case $b=100 which is positive.


-- 

Stephen Montgomery-Smith              EMAIL:PROTECTED
307 Math Science Building             EMAIL:PROTECTED
Department of Mathematics             EMAIL:PROTECTED
University of Missouri-Columbia
Columbia, MO 65211
USA

Phone (573) 882 4540
Fax   (573) 882 1869

http://www.math.missouri.edu/~stephen