I have the following code:
VB Code:
Private Sub cmdPoints_Click() Dim x As Double x = 0 For i = 0 To 10 lblconc(i).Caption = 1 - x x = x + 0.1 Next End Sub
That works fine until it gets to the last one, which should output "0". However it outputs some huge value like "23024625".
Can someone tell me why? 1-1 should be 0! Is this a problem with the caption of a label?
