INT

The INT function is a mathematical function that rounds down a number and returns the corresponding integer value.

If the number is negative, INT returns the first negative integer that is less than or equal to the number. For example, INT converts -8.4 to -9.

Function Name

INT

Description

Rounds down a number, removing any fractional part of the value.

Arguments

INT(INTEGER or REAL)

For more information, see Number (Integer or Real)

Returns

INTEGER.

The returned value is the input value rounded down and converted to an integer.

Examples:

INT(10)

The output is 10.

INT(10.74)

The output is 10.

INT(-8.1)

The output is -9.

INT(-8.8)

The output is -9.


Disclaimer

Geo SCADA Expert 2019