字符串相关
作者:互联网
1.1字符串六位不足前边补零
String number = vo.getId() + "";
if(number.length() < 6) {
DecimalFormat decimalFormat2 = new DecimalFormat("#000000");
number = decimalFormat2.format(Long.parseLong(number));
}
1.2 字符串拼接
具体使用看https://blog.csdn.net/anita9999/article/details/82346552
标签:1.1,1.2,decimalFormat2,number,字符串,相关,DecimalFormat 来源: https://www.cnblogs.com/xiaoXiaoBaiBoKe/p/16083042.html