πŸ“˜ Numeric operator %% in Perl 6

πŸ“˜ Numeric operator %% in Raku

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Retype the CAPTCHA code from the image
Change the CAPTCHA codeSpeak the CAPTCHA code