function toPercent(point){
if (point==0) {
return 0;
}
var str=Number(point*100).toFixed();
str+="%";
return str;
}
————————————————
版权声明:本文为CSDN博主「OxygenChen」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/cx15733896285/article/details/80913791
网友评论