Int()
语法
Result = Int(Number.f)概要
Returns the integer part of a float number.
参数
Number.f The input value. This can be a float or double value.
返回值
Returns the integer part by cutting off the fractional part.
Remarks
This function returns an integer value. To get a quad value, use the IntQ() function.
The integer part is created by cutting off the fractional part of the value. There is no rounding. To perform rounding, use the Round() function.
示例
Debug Int(10.565) ; will display '10'
参阅
IntQ(), Round()
已支持操作系统
所有