September 5th, 2013, 03:01 PM
convert 8 bytes into double and back?
I have a question. I receive a byte stream. The first 8 bytes contain an Identification number. I receive at first the lowest byte and at the end the highest byte of the number.
How can I transform this into a double value and later back into the bytestream? In the past I hard only 2 Byte values and there I could use things like MAKEWORD and HIBYTE and LOWBYTE to convert the values
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!