vb中向上取整的函数?例如3.001 取整后为4

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/15 17:34:22

vb中向上取整的函数?例如3.001 取整后为4

a = 3.001
If Round(a) < a Then
a = Round(a) + 1
end if