Thursday, June 3, 2010

Difference between Fix and Int

Dim MyValue, MyVal, MyReturn
MyVal = -9874.43875
MyReturn = Fix(MyVal)
MsgBox MyReturn
MyReturn1 = Int(MyVal)
MsgBox MyReturn1

No comments: