IntQ()
语法
Result = IntQ(Number.f)概要
Returns the integer part of a float number as a quad.
参数
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 a quad value. The Int() function has only the range of an integer, but it may be faster to execute on 32-bit systems.
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 IntQ(12345678901.565) ; will display '12345678901'
参阅
Int(), Round()
已支持操作系统
所有