toPercent(point){
var str=Number(point*100).toFixed(1);
str+="%";
return str;
}
toPercent(point){
var str=Number(point*100).toFixed(1);
str+="%";
return str;
}
本文标题:js将小数转换成百分数
本文链接:https://www.haomeiwen.com/subject/occmsctx.html
网友评论