Negative numbers

From: Date: Tue, 02 Jan 2001 03:21:58 +0000
Subject: Negative numbers
Groups: php.general 
Request: Send a blank email to php-general+get-32283@lists.php.net to get a copy of this message
HOw do i represent and do calculation on negative values? due to current situation i need to do this... $duration = 3000; //in sec $Break = -1800; //in sec $addon = $duration+$Break; result should be 1200 but php now returns 4800 even when i try quoting the negative values of Break. john

« previous php.general (#32283) next »