I have what I think it is an IEEE754 with single or double precision (not sure) and I'd like to convert it to decimal on PHP.
Given 4 hex value (which might be in little endian format, so basically reversed order) 4A,5B,1B,05
I need to convert it to a decimal value which I know will be very close to 4724.50073
.
I've tried some online converters but they are far from the expected result so I'm clearly missing something.
If I echo 0x4A;
I get 74
and the others are 91
, 27
and 5
. Not sure where to take it from here...