VBS类似于ceil的函数
Function ceil(n,m)
temp = n/m
If Int(temp)/temp=1 Then
ceil=temp
Else
ceil=Int(temp)+1
End If
End Function
msgbox ceil(4,5)
msgbox ceil(5,5)
msgbox ceil(6,5)
msgbox ceil(9,5)
点亮测试人生!QQ:408129370
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号:
百度阅读电子书地址:http://yuedu.baidu.com/ebook/f6dbb2a2f01dc281e53af0f3
讨论QQ群:536192476
个人公众号:
![](http://files.cnblogs.com/files/zhangfei/%E6%B5%8B%E8%AF%95%E5%BC%80%E5%8F%91%E6%B1%9F%E6%B9%96.bmp)