note 97133 added to language.types.float
| From: | pyrosphere at osu1 dot php dot net | Date: | Fri, 02 Apr 2010 22:47:05 +0000 |
| Subject: | note 97133 added to language.types.float | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167668@lists.php.net to get a copy of this message | ||
While testing equality between two floats is usually a bad idea, if you learn how floats work on
computers, you should be able to figure out when testing for equality will work and when it
won't, and use this knowledge to know where you can avoid unnecessary checks that could be the
straw that breaks the camel's back. Remember, rules were made to be broken, and in the real
world sometimes they have to be.
----
Server IP: 69.147.83.197
Probable Submitter: 99.251.61.29
----
Manual Page -- http://www.php.net/manual/en/language.types.float.php
Edit -- https://master.php.net/note/edit/97133
Del: integrated -- https://master.php.net/note/delete/97133/integrated
Del: useless -- https://master.php.net/note/delete/97133/useless
Del: bad code -- https://master.php.net/note/delete/97133/bad+code
Del: spam -- https://master.php.net/note/delete/97133/spam
Del: non-english -- https://master.php.net/note/delete/97133/non-english
Del: in docs -- https://master.php.net/note/delete/97133/in+docs
Del: other reasons-- https://master.php.net/note/delete/97133
Reject -- https://master.php.net/note/reject/97133
Search -- https://master.php.net/manage/user-notes.php