数字格式化
int res = 1;
DecimalFormat df = new DecimalFormat("0000");
String statistics = df.format(res);
DecimalFormat df = new DecimalFormat("0000");
String statistics = df.format(res);
轉載于:https://www.cnblogs.com/zhoucx66/p/7120784.html
總結
- 上一篇: 太阳影子定位问题研究
- 下一篇: go语言api源码中文版_Go语言学习—