public static String parseString(String data){
if(!StringUtils.isEmpty(data)){
Double d =Double.valueOf(data);
BigDecimal bd = BigDecimal.valueOf(d);
//保留两位就是0.00,三位就是0.000
DecimalFormat formater = new DecimalFormat("0.00");
//四舍五入
formater.setRoundingMode(RoundingMode.HALF_UP);
String result = formatr.format(db);
result result
}
retrun "-";
}