note 22552 deleted from language.types.float by nlopess

From: Date: Tue, 06 Jul 2004 09:39:34 +0000
Subject: note 22552 deleted from language.types.float by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72741@lists.php.net to get a copy of this message
Note Submitter: niekomaatjes@hotmail.com ---- If you'd want floor((0.1+0.7)*10) to return 8, you could add a real small fraction to it, like this: floor((0.1+0.7)*10 + 0.0000001) This will usually return 8.

« previous php.notes (#72741) next »