flycoding
  public static void main(String[] args) {
        String str = "000AB";
        Integer in = Integer.valueOf(str,16);
        String st = Integer.toHexString(in).toUpperCase();
        st = String.format("%5s",st);
        st= st.replaceAll(" ","0");
    }

 

分类:

技术点:

相关文章:

  • 2021-11-06
  • 2021-11-05
  • 2021-11-17
  • 2021-12-01
  • 2021-11-05
  • 2021-12-11
  • 2021-11-17
  • 2021-10-19
猜你喜欢
  • 2021-12-10
  • 2021-11-05
  • 2021-11-05
  • 2021-11-15
  • 2021-11-05
  • 2021-11-21
相关资源
相似解决方案