binary « hexadecimal « Java Data Type Q&A





1. How to convert binary, OCT, HEX to calculate in Java?    stackoverflow.com

Write an application that inputs one number consisting of FIVE digits from the user, separates the number into its individual digits and prints the digits separated from one another by three ...

2. Translating a String containing a binary value to Hex (JAVA)    stackoverflow.com

I am trying to translate a String that contains a binary value (e.g. 000010001010011) to it's Hex value.(453) I've been trying several options, but mostly I get a converted value of each ...

3. How to convert numbers to binary and hex (without built-in functions)?    stackoverflow.com

Since this is homework, I can't use built-in functions. I have to use algorithms in Java. This is what I have so far but it is wrong.

import java.util.Scanner;

public class ChangingFigures {
 ...

4. Converting to binary and hex ?!?!?!?!?!?!    coderanch.com

Hello ppl! Can someone pleeeease point out what im missing in the following code? Im trying to create an application which converts to binary and hex. Ta import java.awt.*; import java.awt.event.*; import java.text.*; import java.lang.*; import java.io.*; public class partB extends Frame implements ActionListener { private TextField num1, num2, num3; private Label intamt, binamt, hexamt; private Button calc, clear, exit; private ...

5. Merging code with Dr. Java. Binary to hexadecimal converter. IB computer science    java-forums.org

Merging code with Dr. Java. Binary to hexadecimal converter. IB computer science Hello. I am taking IB comp sci currently and I have 2 codes at the moment (working), Binary2decimal and Decimal2Hex, and I need to combine them to make a Binary2Hexadecimal converter. How exactly can I merge these two codes? Thank you! BINARY TO DECIMAL Java Code: /** ...

6. Binary to Hexadecimal Conversion    forums.oracle.com

7. hex to binary    forums.oracle.com

what i am trying to do is : user input a hex value in the text box , then i have to treat that as hex value, which i need to convert to binary so i can do bitwise manipulations.i am not sure if this is the approach is correct but as long as i get binary form of the input ...

8. Binary to hex convertor    forums.oracle.com

Hello all, I was searching on the internet an binary to hex convertor in java language, but I was found 0 results. I want to converting an binary number to hex number, but not binary or hex calculator. I need a java code for converting binary code into hex code. For example: I have got a file with some binary codes ...

9. Changing from hexadecimal to binary    forums.oracle.com