Re: Getting floats from 8 byte IEEE binary representations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux