% operator

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

 



Hello,

If you have

$a = 24;
$b = 5;

and

$c = $a/$b;

===> $c = 4.8

To retrieve the .8 (reste in french) I saw instruction:

$a%$b

Where can I find a manual for this '%' operator? Of course I already looked in
all the Php manuals (operators, etc ...).

Thanks,



-- 
Alain Barthélemy
cassandre@bartydeux.be
http://bartydeux.be
Linux User #315631


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux