View Single Post
  #15 (permalink)  
Old 04-21-2008, 01:05 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,159
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Operations in PHP

Arithmetic operations

-$a (Negation) - Opposite of $a.
$a + $b (Addition) - Sum of $a and $b.
$a - $b (Subtraction) - Difference of $a and $b.
$a * $b (Multiplication) - Product of $a and $b.
$a / $b (Division) - Quotient of $a and $b.
$a % $b (Modulus) - Remainder of $a divided by $b.
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote