close
//src:數字。
//pos:小數點後位數。 
function formatFloat(src, pos) 
{
    return Math.round(src * Math.pow(10, pos)) / Math.pow(10, pos);
}
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 harryli55 的頭像
    harryli55

    Harry的軟體世界

    harryli55 發表在 痞客邦 留言(0) 人氣()