What am I doing wrong?

From: Date: Thu, 17 Apr 2003 06:50:53 +0000
Subject: What am I doing wrong?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144229@lists.php.net to get a copy of this message
Does anyone see what I am doing wrong here? <?php $monthly = 14.95; $qtrly = 44.85; if($qtrly != 0 && $qtrly != ($monthly * 3)) echo "Quarterly Incorrect ".$qtrly." ".($monthly * 3); else echo "Quarterly correct ".$qtrly." ".($monthly * 3); ?> yields the following; Quarterly Incorrect 44.85 44.85 Warren Vail warren@vailtech.net

« previous php.general (#144229) next »