note 78668 added to language.types.float
| From: | helly@php.net | Date: | Mon, 22 Oct 2007 19:10:58 +0000 |
| Subject: | note 78668 added to language.types.float | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131634@lists.php.net to get a copy of this message | ||
Floating point values have a limited precision. Hence a value might not have the same string
representation after any processing. That also includes writing a floating point value in your
script and directly printing it without any mathematical operations.
If you would like to know more about "floats" and what IEEE 754 is read this: http://docs.sun.com/source/806-3568/ncg_goldberg.html
----
Server IP: 69.147.83.197
Probable Submitter: 72.14.228.89
----
Manual Page -- http://www.php.net/manual/en/language.types.float.php
Edit -- https://master.php.net/note/edit/78668
Del: integrated -- https://master.php.net/note/delete/78668/integrated
Del: useless -- https://master.php.net/note/delete/78668/useless
Del: bad code -- https://master.php.net/note/delete/78668/bad+code
Del: spam -- https://master.php.net/note/delete/78668/spam
Del: non-english -- https://master.php.net/note/delete/78668/non-english
Del: in docs -- https://master.php.net/note/delete/78668/in+docs
Del: other reasons-- https://master.php.net/note/delete/78668
Reject -- https://master.php.net/note/reject/78668
Search -- https://master.php.net/manage/user-notes.php