Don't know where I am missing, but the simple Access VBA snippet below returns 2 when I divide any floating numbers that the division equals 3.
Note: I have received the code with this Int() function, but if changes are necessary to achieve same result, I can change anything.
Sub RoundTest()
Dim a, b, c
a = 4.8
b = 1.6
c = Int(a / b)
MsgBox (c)
End Sub
Have any of you ever heard of something like this before? I tried on two different computers and get the same result. Maybe it is something with the Access compiler, or my code.