Levisvv Member Licensed User Longtime User Aug 9, 2014 #1 I have the following code: B4X: dim WireSize as spinner For i=0.1 To 2 Step 0.1 WireSize.Add(Round2(i,1)) Next But what I get in my Spinner is only the numbers that equate to integers. i.e. I only get 1 & 2 and that's it, 2 items only. How can I fix this???
I have the following code: B4X: dim WireSize as spinner For i=0.1 To 2 Step 0.1 WireSize.Add(Round2(i,1)) Next But what I get in my Spinner is only the numbers that equate to integers. i.e. I only get 1 & 2 and that's it, 2 items only. How can I fix this???
Levisvv Member Licensed User Longtime User Aug 9, 2014 #2 never mind, I just noticed that I dim'd i as an int.. Upvote 0