Unfortunatley, VB has a variety of ways of calculating integer results from floating point operations. I say 'unfortunate' because, as you have discovered, they can give different results. And there are differences between the implicit conversions and the explicit conversions. The following minor example illustrates some of this further: [tt]
Private Sub Command1_Click()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.