Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

modulus of two values

Mon Oct 27, 2008 1:15 pm

Code:

<?
$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>";

?>




Post a reply
  Related Posts  to : modulus of two values
 URL Characters and URL Encoding Values     -  
 EXTRACTING VALUES FROM XML FILE     -  
 Use Alpha values to draw     -  
 Using Multiple Values for a Cookie in php     -  
 Get image pixels Values in ITK     -  
 Dividing two Integer values     -  
 How can i Get Brightness and Contrast values of img     -  
 Calculate the sum of values in an array     -  
 restrictions on the values of each case of a switch     -  
 Get values of Form parameters using JQuery     -  

Topic Tags

PHP Variables