Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double Data Type Problem

Status
Not open for further replies.

Maii

Programmer
Aug 28, 2003
54
BD
Hi there,
following code had some problem while using Double data type
if i use currency data type it OK


Private Sub Command1_Click()
Dim a As Double
Dim b As Double
a = 4911399.08
a = a + 446192.58
a = a + 73490.23
b = 5431081.89
If a <> b Then
MsgBox "Error"
End If
End Sub


Thanks
maii
 
Have a look at thread222-894973

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top