PHP/Language Basics/Modulus
Версия от 10:37, 26 мая 2010; (обсуждение)
Check the modulus of the two values and print the result
<?
$a = 85;
$b = 24;
echo "<P>Original value of \$a is $a and \$b is
$b</P>";
$c = $a % $b;
echo "<P>The modulus of \$a and \$b is $c</P>";
?>