diffence between two numbers...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to know the difference between two numbers...
eg:

$a = 7;
$b = 27;
somefunction($a, $b)
// outputs "20"

$a = 10;
$b = 12;
somefunction($a, $b)
// outputs "2"

etc...
does that exist?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux