问题 单项选择题

有如下程序段:
Dim I As Integer
I=Int(-3.25)
执行后,I的返回值是

A.-3

B.-4

C.3

D.3.25

答案

参考答案:B

解析: Int函数为取整函数,所以Int(-3.25)=-4。

单项选择题
选择题