java中将数字转换成带千分位格式

int num=1000;
String str = DecimalFormat.getNumberInstance().format(num);

你可能感兴趣的:(elasticsearch,大数据,big,data,java)