Why do these values not match?

From: Date: Tue, 25 Jun 2002 22:00:08 +0000
Subject: Why do these values not match?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20107@lists.php.net to get a copy of this message
The "if" statement is not working here. Does anybody know why? $total= 332.06; $production = 45.11 + 134.38 + 85.35 + 67.22; print("Total = $total<br>"); print("Production = $production<br>"); if($total != $production) { print("Totals do not Match!"); } else { print("Totals are in Balance"); } --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup

« previous php.db (#20107) next »