Syntax 

Int(Num)


Group 

Math 


Description 

Return the integer value.


Parameters

Description

Num 

Return the largest integer which is less than or equal to this numeric value. If this value is Null then Null is returned.


See Also 

Fix


Example

Sub Main

    Debug.Print Int(9.9)  ' 9

    Debug.Print Int(0)    ' 0

    Debug.Print Int(-9.9) '-10

End Sub