摘要:
///四舍五入public double transmitNum(double f){ if((f-(int)f)<=0.5&&(f-(int)f>0)) return (int)f+0.5; if((f-(int)f)>0.5) return (int)f+1.0; if((f-(int)f)==0) return f; return f;} 阅读全文
posted @ 2013-04-19 14:19
jeffrey77
阅读(127)
评论(0)
推荐(0)
浙公网安备 33010602011771号