【发布时间】:2013-09-29 01:29:10
【问题描述】:
我需要能够判断一个整数是整数还是小数。所以 13 是整数,23.23 是小数。
很喜欢;
If 13 is a whole number then
msgbox("It's a whole number, with no decimals!")
else
msgbox("It has a decimal.")
end if
【问题讨论】:
-
你用来包含号码的变量是什么类型的,是字符串吗?