function toPercent(point){
if (point==0) {
return 0;
}
var str=Number(point*100).toFixed();
str+="%";
return str;
}
转自:https://blog.youkuaiyun.com/cx15733896285/article/details/80913791