java代码 十进制: 16 转十六进制:00 00 00 10
int decimal = 16; String hex = String.format("%08X", decimal); System.out.println(hex); // 输出结果为 00000010
原文地址: http://www.cveoy.top/t/topic/bs5A 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
int decimal = 16; String hex = String.format("%08X", decimal); System.out.println(hex); // 输出结果为 00000010
原文地址: http://www.cveoy.top/t/topic/bs5A 著作权归作者所有。请勿转载和采集!