DecimalFormat decimalFormat = new DecimalFormat("0.##");
double l = 101;
String format = decimalFormat.format(l / 100);
System.out.println(format);

 

相关文章:

  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案