I write small program in VB6 as given below;
Private Sub cmccalc_Click()
Dim a As Double
Dim b As Double
Dim c As Double
a = "1"
b = "18"
c = 1 / 18
Debug.Print c
End Sub
Then I get answer "5.55555555555556E-02". If I use window calculator
then I get answer 0.055555555555555555555555556. Any body can I tell
me how I can get answer same as window calculator?
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> 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/