%% is the so-called divisibility operator: it tells if the integer division with no remainder is possible for the given pair of operands.
say 10 %% 3; # False say 12 %% 3; # True
Science, Programming, Electronics, Languages
N. B. Perl 6 has been renamed to Raku. Click to read more.
%% is the so-called divisibility operator: it tells if the integer division with no remainder is possible for the given pair of operands.
say 10 %% 3; # False say 12 %% 3; # True