INT

Syntax: vout = INT(vin)

The INT function returns the integer portion of vin.

functionresult
INT(2.3)  2
INT(-2.3) -2
INT(2.9)  2
INT(-2.9) -2