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. : Int « Data Type « VBA / Excel / Access / Word





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.

 
Sub mathDemo7()
   Debug.Print Int(3.14159)
End Sub

 

Related examples in the same category

1.Int() Returns the integer portion of a number.
2.Int(-3.14159) returns -4