Re: bcadd
| From: | Kevin Hoffer | Date: | Fri, 18 Apr 2003 03:08:53 +0000 |
| Subject: | Re: bcadd | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144368@lists.php.net to get a copy of this message | ||
That one works. It displays 3.
I thought maybe it had something to do with using two variables but that was
squashed when I used two variables in another section of the script.
"Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message
news:3E9F6882.3070108@mega-bucks.co.jp...
> Kevin Hoffer wrote:
> > I don't get any errors it just doesn't add anything its always shows 0
>
> try this and see what you get:
>
> <?php
> $a = bcadd("1", "2");
> echo $a;
> ?>
>
>
> Jean-Christian Imbeault
>