close
//src:數字。
//pos:小數點後位數。 
function formatFloat(src, pos) 
{
    return Math.round(src * Math.pow(10, pos)) / Math.pow(10, pos);
}
arrow
arrow
    全站熱搜

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