Int() Returns the integer portion of a number. : Int « Data Type « VBA / Excel / Access / Word






Int() Returns the integer portion of a number.

 
Sub mathF4()
    Debug.Print Int(-9.1)
End Sub

 








Related examples in the same category

1.Int(number) returns The integer portion of number (again, without rounding). If number is negative, returns the negative number less than or equal to number.
2.Int(-3.14159) returns -4