Re: Working with internal data formats
| From: | Iv Ray | Date: | Thu, 15 May 2008 13:21:37 +0000 |
| Subject: | Re: Working with internal data formats | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274373@lists.php.net to get a copy of this message | ||
John Gunther wrote:
What technique can I use to take an 8-byte double precision value, as stored internally, and assign its value to a PHP float variable without having the bytes misinterpreted as a character string.Does it get misinterpreted, or do you just want to be sure? The documentation says - "Some references to the type "double" may remain in the manual. Consider double the same as float; the two names exist only for historic reasons." Does this cover your case? Iv