JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Archived Forums
>>
Socket Programming
convert decimal to binary
Hi, I have a decimal value 70 for example and want to obtain it in binary like this:01000110.Can anyone please send me the code how to achieve this pleasethanks in advance
[199 byte] By [
bronze-starDukes
] at [2007-11-26 12:14:43]
««
Problem with JOGL applet
»»
extract infomation
# 1
Integer.toBinaryString() (or something like that)[url= http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html#toBinaryString(int)] here [/url]
silverstar
at 2007-7-7 14:17:41 >
# 2
Integer.toBinaryString(70)
platinumsta
at 2007-7-7 14:17:41 >
Archived Forums
Developing ejb session beans in WSAD5.1.1
Problem with migrating web-application from iPlanet 6.0 to Sun ONE 7
JWSDP, JAXRPC and SWA Security Profile
Great Opportunity for surfers to earn in dollars:)
JDK1.4.1_01
help please: Problem to run the JWSDP sample code.
[java-tools-general] Can't uninstall Forte for Java 4.0
Soap Messaging and Proxy host settings
Web services acceptance criteria tests
Web Modules?
Socket Programming
Problem with JOGL applet
Absolute path access using Sun Application Server
FileReader Issues
How to access mobile camera and address book using j2me?
Is OJB better than JBDC
SmartMX VS NFC IC
how to write an JDBC applet connect to Oracle
Date
Adding custom headers to a HTTP Request
IECanvas Vs. ExCanvas (JAVA Frame)
Archived Forums New Topic
Problem with JOGL applet
Absolute path access using Sun Application Server
SmartMX VS NFC IC
how to write an JDBC applet connect to Oracle
Adding custom headers to a HTTP Request
IECanvas Vs. ExCanvas (JAVA Frame)
JTable method calling issue
Working code of java application accepting cookies?
Archived Forums Hot Topic
FileReader Issues
Is OJB better than JBDC
Date
IECanvas Vs. ExCanvas (JAVA Frame)
ActionListener & KeyListener
how to use java on websites (for applications)?
BigInteger.probablePrime() doesn't output the correct bitlength?
JRE 6 - install language?
Archived Forums
Java Programming
New To Java Technology Archive
Swing
Sun ONE Studio 4
Socket Programming
Java 2 Software Development Kit (J2SE SDK)
Portability & Platform Independence [Archive]
Debugging Tools and Techniques
Sun ONE Web Services Platform Developer Edition
The Brazil Project
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding