// 取四捨五入
inline double myFloorRound(double dInput)
{
              if(dInput >= 0.0f)
             {
                   return floor(dInput + 0.5f);
             }
             return ceil(dInput - 0.5f);
}
////////////////////////////////////////////////////////////////////////////////////////////////////

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Jacson 的頭像
    Jacson

    Bear & Kuma 's Home

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