parseFloat (numStr); // 返回數字123. num = window.parseFloat(numStr).toFixed(0); // 返回字符串123,其中0表示小數點後0位數字,可修改為其它數字.
確定! 回上一頁