Can anyone tell me why Int(2.8*10) returns 27, not 28?
I've tried it in A2000 and A2002 with same results. If you use 1.8, it works properly. If you use 2.8, 3.8, 4.8, 5.8, 6.8, or 7.8 it fails, but if you use 8.8 it works again. Also, if you try Int(2.8*100), it returns 279 - and so on.
I've found a workaround for my situation, but this seems like a rather glaring thing to not have been corrected by now. Am I right in calling this a bug?
I've tried it in A2000 and A2002 with same results. If you use 1.8, it works properly. If you use 2.8, 3.8, 4.8, 5.8, 6.8, or 7.8 it fails, but if you use 8.8 it works again. Also, if you try Int(2.8*100), it returns 279 - and so on.
I've found a workaround for my situation, but this seems like a rather glaring thing to not have been corrected by now. Am I right in calling this a bug?