Hey,
i have a counter i count every 100ms + 0.011 and every time the result have 2 00 then the result ist for example 1.1 instead of 1.100, how can i avoid this?
i have a counter i count every 100ms + 0.011 and every time the result have 2 00 then the result ist for example 1.1 instead of 1.100, how can i avoid this?
B4X:
Do While isdown = True
doublecounter = doublecounter + 0.011
lbl_counter.Text = Round2(doublecounter,3)
Sleep(100)
Loop