
05-25-2001, 12:16 PM
|
|
|
Third Party Tool
|
Iam using a third party Spread Control to Record Journal Vouchers. I have got two columns in the spread control which
are of type float. When I add these columns and minus one fromthe other, iam not getting zero eventhough the values in both the columns are same. Iam passing the values from these two columns to a double type variable in my application. I have given the code below. Please suggest
me a method to sort out this problem.
Dim mtotamt as double
for i=1 to vaspread1.maxrows
vaspread1.row=i
If txt_mpostano= "JV" Then
vaSpread1.Col = 6
mtotamt = mtotamt + vaSpread1.Text
vaSpread1.Col = 7
mtotamt = mtotamt - vaSpread1.Text
End If
next i
|
|