home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,967 of 10,840   
   jamie to All   
   Re: Int in VB6   
   10 Nov 04 07:58:38   
   
   From: jamie@noway.com   
      
   Bo wrote:   
   > Hi   
   > Dim A   
   > Dim B   
   > A=25   
   > B=Int(A)   
   >   
   > B became  24   
   >   
   > Why ??   
   > /Bo   
      
   B was 25 for me using your code   
      
   Try the following:   
      
   Dim A As Integer   
   Dim B As Integer   
   A = 25   
   B = CInt(A)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca