Modulo operator in PHP
Modulo operator in PHP is specified with % sign. Result of this operation is the remainder of division of first number by a second one.
If second number is 2, then it is possible to find out if original number is even or odd.
Modulo operator in PHP is specified with % sign. Result of this operation is the remainder of division of first number by a second one.
If second number is 2, then it is possible to find out if original number is even or odd.
Comments
Post a Comment