public static void main(String[] args) {
        DecimalFormat decimalFormat = new DecimalFormat("00000");
        System.out.println(decimalFormat.format(21));
    }

格式化数字

相关文章:

  • 2022-01-23
  • 2021-12-13
  • 2021-11-21
  • 2021-11-25
  • 2021-07-25
  • 2022-02-28
  • 2021-09-19
  • 2021-10-13
猜你喜欢
  • 2021-03-28
  • 2022-12-23
  • 2021-07-13
  • 2021-09-16
相关资源
相似解决方案