Re: Getting floats from 8 byte IEEE binary representations
| From: | Dan Phiffer | Date: | Thu, 17 Feb 2005 05:02:45 +0000 |
| Subject: | Re: Getting floats from 8 byte IEEE binary representations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208884@lists.php.net to get a copy of this message | ||
Ian Johnson wrote:
I am trying to write a function which will read a string of bytes from a binary file and convert 8 byte sequences to Float type data. I've been through the manual and can find nothing but think I must be missing something. It can't be that hard. Can someone help me out.Have you tried unpack? (http://php.net/unpack) HTH, -Dan