Int Function

Returns the integer part of a value.

Syntax

Int (value)

where value specifies the value you want to return the integer part of.

Example

'This should print the number 1.

PRINT "The integer portion of 1.2345 is: ", INT(1.2345)