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