private static String strs(String str) {
if (str.indexOf(".") > 0) {
str = str.replaceAll("0+?$", "");//删掉尾数为0的字符
str = str.replaceAll("[.]$", "");//结尾如果是小数点,则去掉
}
return str;
// TODO Auto-generated method stub
}