Hello friends,
  I m developing a simple application , vb.net/ c#.net
  in this application i do a division of two numbers, but the answer is 
incorrect,
  can anybody help me to solve this problem,
  my code is like
   
  Dim i As Integer
  i = 9
  Dim J As Integer
  J = i / 2
  MsgBox(J)
   
  now the msgbox will show 4
   
  Dim i As Integer
  i = 7
  Dim J As Integer
  J = i / 2
  MsgBox(J)
   
  Now msgbox should show ans as 3,but it shows 4,
  why?
   
  please tell me,
  thanks

                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW

[Non-text portions of this message have been removed]




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNet2/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNet2/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to