Click here to Skip to main content
13,762,864 members
Click here to Skip to main content

Tagged as


Posted 7 Nov 2012
Licenced CPOL

Convert double value in Binary

, 7 Nov 2012
I think the problem is down to the numeric types you're using. Amend your left shift to:((long)1 << bit)This is discussed in greater detail here:[^]Update: My bad, looks like...



Compare Revision Minor Date Status Editor
2 - publicly available No 7-Nov-12 4:41 Available jim lahey
Updates in content. 266 changes had been made.
1 No 7-Nov-12 4:30 Available jim lahey


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

jim lahey
Software Developer (Senior)
United Kingdom United Kingdom
First batch file in 1987

Messed around with the Bullfrog C++ Libraries for Syndicate in 1994

Web Developer since 2000

.net Developer since 2001

MCTS: Microsoft® .NET Framework 2.0 - Web-based Client Development

MCTS: Web Applications Development with Microsoft .NET Framework 4

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01-2016 | 2.8.181112.3 | Last Updated 7 Nov 2012
Article Copyright 2012 by jim lahey
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid