dim d as double
  dim i as integer
  
  d = 72.0 / 2000.0
  d = d * 750.0
  
  i = d
  
  MsgBox str(d)
  msgbox str(i)
  
  Why does this code produce a 26 for the second message box instead of a
27? How can I make RB produce a 27 like every other language/calculator
that I tried?

--Seth


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to