In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to