你这是向上取整吗?
int(1.1)=1
in(1.999)=1
传统意义上的向上取整是
f(1.0)=1
f(1.1)=2
f(1.9)=2
函数的实现方法
f=1.1
?int(f)-(int(f)f)
2
f=1
?int(f)-(int(f)f)
1
http://w ...
ACMAIN_CHM 发表于 2009-2-4 11:56
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |