Thanks for responding
Expected value for example is 369790944 but unpack returns 46223868
Expected value for double 518819.748032 but unpack returns 64852.468503656
I compared endianness between the system that is storing the values and the system where I read the data using this perl -V:byteorder and it matches
if it helps, the definition of the column in MySQL is binary(8)
In reply to Re^2: Unpack mysql binary column data
by prashanthch
in thread Unpack mysql binary column data
by prashanthch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |