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 -- h
ttps://master.php.net/note/delete/78668/integrated
Del: useless -- http
s://master.php.net/note/delete/78668/useless
Del: bad code -- htt
ps://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 -- http
s://master.php.net/note/delete/78668/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78668
Reject -- https://mast
er.php.net/note/reject/78668
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|