Re: increment counter by .1
| From: | Brian V Bonini | Date: | Thu, 15 May 2003 13:50:20 +0000 |
| Subject: | Re: increment counter by .1 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147718@lists.php.net to get a copy of this message | ||
On Wed, 2003-05-14 at 18:31, John Coggeshall wrote:
> > is it possible to increment a counter by .1?
>
> $i += 0.1;
>
Yes, that worked, thanks. What is += ? It says nothing in the
·Incrementing/Decrementing Operators section of the manual.