Int Function

Applies to TestComplete 15.70, last modified on December 17, 2024

The Int function returns the integer part of a number.

Declaration

Int(FloatValue) Parameters
FloatValue [in] Required Float
Result     Integer  

Description

Returns the integer part of the value specified by FloatValue rounded toward zero.

Parameters

The function has the following parameter:

FloatValue

Specifies the float number to be processed.

Return Value

A integer value that holds the integer part of the specified argument. If FloatValue is empty, Int returns 0.

See Also

DelphiScript - List of Supported Routines and Variables
Frac
Round
Trunc

Highlight search results