轉自:js小數和百分數的轉換html
function toPercent(point){ var str=Number(point*100).toFixed(1); str+="%"; return str; }