js怎么将相除结果百分比
functionpercentNum(num,num2){
return(Math.round(num/num2*10000)/100.00+"%");//小数点后两位百分比
}
alert(percentNum(2,3));