Source Code:
(back to article)
<?php $number1 = 5; $number2 = 2; // Get the remainder of the division operation using the fmod() function $remainder = fmod($number1, $number2); // Output the remainder echo $remainder; ?>
Result:
Report an issue