Basic 语言的四舍五入规则和 C# 一样,总是将其四舍五入为最接近的偶数。比如 Round(3.5)=4,Round(4.5)=4。
那 Round 和 CInt 是啥区别呢?Round 可以指定小数位数,CInt 则只能转换成整数。