double/Single BUG?

C

csmba

An evevn simple case that shows a strange "bug" in the framework then the
erlier post:
Dim xSng As Single = 6547.972
Dim yInt As Integer = 8000
Dim d As Double = xSng * yInt

the value in d is not correct! the value in the Watch window for xSng * yInt
is correct and not the same as d

am I totaly out of the main stream here doing such "strange" computations?

Hernan.
 
J

Jay B. Harlow [MVP - Outlook]

Hernan,
See Jon's and my responses to the first post.

Hope this helps
Jay
 
C

Cor Ligthert

At the time Jay sand this message there were only answers from Jon and him
in that thread.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top