From: "Ben Alford" Newsgroups: comp.os.msdos.djgpp Subject: Binary to double in C Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Thu, 23 Mar 2000 21:09:08 -0000 NNTP-Posting-Host: 212.250.65.73 X-Complaints-To: abuse AT net DOT ntl DOT com X-Trace: news2-win.server.ntlworld.com 953845767 212.250.65.73 (Thu, 23 Mar 2000 21:09:27 GMT) NNTP-Posting-Date: Thu, 23 Mar 2000 21:09:27 GMT Organization: ntl News Service To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi I hope some can help me with my problem with C. I am using fread to read in a binary line as follows: char Data[9]; fread(Data, sizeof(double),1,Output); I want to take the binary string in Data and get the value of it as a double. Any suggestions would be most appreciated. thanks Ben Alford