Fix Function |
Syntax:
Fix(Num)
Group:
Description: Returns the integer value.
Parameters:
Parameter |
Description |
Return the integer portion of this numeric value. The number is truncated. Positive numbers return the next lower integer. Negative numbers return the next higher integer. If this value is Null then Null is returned. |
Example:
Sub Main
Debug.Print Fix(9.9) ' 9
Debug.Print Fix(0) ' 0
Debug.Print Fix(-9.9) '-9
EndSub
See Also: