Re: increment counter by .1

From: Date: Thu, 15 May 2003 15:37:45 +0000
Subject: Re: increment counter by .1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147719@lists.php.net to get a copy of this message
i += 1 is similar to writing i = i+1; hth --pushpinder On Thursday, May 15, 2003, at 09:50 AM, Brian V Bonini wrote:
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#147719) next »