If you don't have to implement that conversion yourself, you can use existing code : int decimal = Integer.parseInt(binaryStr,2); String hexStr = Integer.
確定! 回上一頁