- 博客(0)
- 资源 (1)
- 收藏
- 关注
NumberUtils.java
public static String getPercentile(long small, long big) {
if (big == 0) {
return "0.00%";
}
double percent = (double) small / big;
DecimalFormat format = new DecimalFormat("0.00%");
String result = format.format(percent);
return result;
}
2020-07-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人