VB里有类似于C里的floor取整函数吗

2025-02-24 19:55:06
推荐回答(2个)
回答1:

有Int函数 ,函数结构式 Int(number)
例如: INT(3.1) 返回 3
INT(3.99) 返回 3
INT(-3.1) 返回 -4

回答2:

Int()函数就是