Int Function

Syntax:

Int(Num)

Group:

Math

Description:

Return the integer value.

 

Parameter

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