the representation of floats and doubles varies depending on the processor architecture, and not just in the byte order but also on the number of bits used for the mantissa, exponent or how unnormalized and special numbers are handled.
You would need to code a packer/unpacker that understands the format used on the flash cookies (that is probably the x86 one).