note 89847 deleted from language.operators.arithmetic by danbrown

From: Date: Wed, 25 Mar 2009 18:48:44 +0000
Subject: note 89847 deleted from language.operators.arithmetic by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-152445@lists.php.net to get a copy of this message
Note Submitter: urkobenito at hotmail dot com ---- Sorry, i found the problem documented <a href="language.types.float.php">here</a> A better solution was to round: echo (round($a,2)==round($b,2)?"true":"false");

« previous php.notes (#152445) next »