% operator
| From: | Alain Barthélemy | Date: | Tue, 12 Aug 2003 09:04:39 +0000 |
| Subject: | % operator | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29840@lists.php.net to get a copy of this message | ||
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