For Programmers: Free Programming Magazines  


Home > Archive > MSDN > January 2006 > To convert the double value into network byte order...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author To convert the double value into network byte order...
Shaham

2006-01-09, 7:39 pm

To convert the double value into network byte order, I am reversing the
hexamdecimal values of a that double value. Is it right?

Say for example,
Double value is 20060102000012
Its Hex value is 00 00 12 3E 9B 40 FD 8C
Reversed Hex value is 8C FD 40 9B 3E 12 00 00

The reversed hex value is itself a network byte order of the original
double value, am I right? if wrong could you please help me in converting
nework bye order of double value.

Thanks for your quickest reply.

Note: Please excuse me if it not a relevant group.

Regards,
shaham.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com