2012年6月5日

VBS类似于ceil的函数

摘要: Function ceil(n,m) temp = n/m If Int(temp)/temp=1 Then ceil=temp Else ceil=Int(temp)+1 End IfEnd Functionmsgbox ceil(4,5)msgbox ceil(5,5)msgbox ceil(6,5)msgbox ceil(9,5) 阅读全文

posted @ 2012-06-05 13:11 张飞_ 阅读(450) 评论(0) 推荐(0) 编辑

导航