Int()
Syntax
Result = Int(Number.f)Description
Returns the integer part of a float number.
Parameters
Number.f The input value. This can be a float or double value.
Return 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.
Example
Debug Int(10.565) ; will display '10'
See Also
IntQ(), Round()
Supported OS
All