/**
* 转换成百分比
* @param str 0.00%表示转换为百分比后,保留两位小数
* @return
*/
public static String convert(double str){
//
DecimalFormat df = new DecimalFormat("0%");
String s = df.format(str);
return s;
}
/**
* 转换成百分比
* @param str 0.00%表示转换为百分比后,保留两位小数
* @return
*/
public static String convert(double str){
//
DecimalFormat df = new DecimalFormat("0%");
String s = df.format(str);
return s;
}