in reply to
Find if a number is a multiple of a number.
Use the modulus operator:
%
. For details, see the perlop manual page.
Comment on
Re: Find if a number is a multiple of a number.
Download
Code
In Section
Seekers of Perl Wisdom