Re: Incrementing number by .1 or substracting .1

From: Date: Fri, 05 Apr 2002 00:45:27 +0000
Subject: Re: Incrementing number by .1 or substracting .1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91651@lists.php.net to get a copy of this message
In article <HPELJEHMNBKHOOGCDOFNIEIMCIAA.dreamboy@aros.net>, dreamboy@aros.net (Devin Atencio) wrote: > I am trying to figure out how to write a script to increase > a number by .1 or decrease a number by .1 but the number needs > to be in the syntax of x.x. $start=1; $up=$start+ 0.1; $down=$start-0.1; <http://www.php.net/manual/en/language.types.float.php> -- CC

« previous php.general (#91651) next »