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

arrow
arrow
    全站熱搜

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