java保留小数位数

System.out.println(String.format("%.5f",new Main().minRadius(n,m)));

原文地址:https://www.cnblogs.com/tonyyy/p/10528484.html