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
Try using Integer.parseInt(binOutput, 2) instead of Integer.parseInt(binOutput)
Integer.parseInt(binOutput, 2)
Integer.parseInt(binOutput)