bcadd
| From: | Kevin Hoffer | Date: | Fri, 18 Apr 2003 01:15:28 +0000 |
| Subject: | bcadd | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144356@lists.php.net to get a copy of this message | ||
I can't seem to get it work with 2 variables.I try and use
$TOTAL = bcadd($TOTAL,$MIN);
and it doesn't work. It is within a foreach and at the start of the script I
created $TOTAL = 0 so that it first sets TOTAL to 0 so it can add whatever
$MIN is to 0 and then go to the next line and do it all over again but it
never works. I can do it like
$TOTAL = $TOTAL + $MIN;
but perfer to use bcadd.
Any ideas?