double dbVal = 5.5; long lVal = BitConverter.DoubleToInt64Bits(dbVal); string hex = lVal.ToString("X");
long lval2 = Convert.ToInt64(hex, 16); double dbVal2 = BitConverter.Int64BitsToDouble(lval2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)