Int                                                                                                              Function

 

INT(theNumber as Float)

 

Description

Returns the integer portion of a number.

 

Example

Dim x as float

Dim result as integer

x=-33.2

result=Int(x) 'will calculate result=-33