IntQ()

Syntax

Result = IntQ(Number.f)
Description
Returns the integer part of a float number as a quad.

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 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.

Example

  Debug IntQ(12345678901.565)  ; will display '12345678901'

See Also

Int(), Round()

Supported OS

All

<- Int() - Math Index - IsInfinity() ->