Re: Getting floats from 8 byte IEEE binary representations
| From: | Bret Hughes | Date: | Thu, 17 Feb 2005 04:54:33 +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-208882@lists.php.net to get a copy of this message | ||
On Wed, 2005-02-16 at 18:36, 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.
>
>
what have you tried? won't fread() work?
http://us4.php.net/manual/en/function.fread.php